/* ============================================================
   Rhoda Partners — Advocates & Legal Consultants
   Professional navy + gold theme
   ============================================================ */

:root {
  --navy: #0e1b33;
  --navy-800: #142646;
  --navy-700: #1c3358;
  --gold: #c2a14d;
  --gold-soft: #d8be82;
  --ink: #1c2434;
  --muted: #5c6577;
  --line: #e7e9ef;
  --bg: #ffffff;
  --bg-alt: #f6f7fa;
  --radius: 10px;
  --shadow: 0 18px 40px -22px rgba(14, 27, 51, 0.35);
  --maxw: 1140px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 1.5px solid transparent;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(194, 161, 77, 0.8); }
.btn--ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn--full { width: 100%; text-align: center; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #c9d1e0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar a:hover { color: var(--gold-soft); }
.topbar__divider { margin: 0 10px; color: rgba(255,255,255,0.3); }
.topbar__meta { color: #9aa6bd; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.header.scrolled { box-shadow: 0 6px 24px -16px rgba(14,27,51,0.4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 6px;
  background: var(--navy); color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.25rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--gold);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--navy); }
.brand__tag { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold);
  transition: width 0.25s ease;
}
.nav a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--navy); color: #fff !important; padding: 10px 22px !important; border-radius: 6px;
  transition: background 0.2s ease;
}
.nav__cta:hover { background: var(--navy-700); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--navy); transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(14,27,51,0.92), rgba(20,38,70,0.88)),
    radial-gradient(circle at 80% 20%, rgba(194,161,77,0.18), transparent 60%);
  background-color: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
}
.hero__inner { position: relative; padding: 110px 24px 120px; max-width: 860px; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem;
  color: var(--gold-soft); margin-bottom: 22px; font-weight: 600;
}
.hero__title { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 700; line-height: 1.1; margin-bottom: 22px; }
.hero__sub { font-size: 1.1rem; color: #cdd5e4; max-width: 620px; margin-bottom: 36px; font-weight: 300; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy-800); color: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 34px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,0.08); }
.trust__item:first-child { border-left: none; }
.trust__num { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--gold); }
.trust__label { font-size: 0.82rem; color: #b7c0d4; letter-spacing: 0.03em; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.78rem; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.eyebrow--light { color: var(--gold-soft); }
.section__title { font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 700; color: var(--navy); line-height: 1.15; }
.section__title--light { color: #fff; }
.section__lead { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.about__imgcard {
  background: linear-gradient(145deg, var(--navy), var(--navy-700));
  border: 1px solid rgba(194,161,77,0.3);
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  color: #fff; box-shadow: var(--shadow);
}
.about__imgmark { font-family: var(--serif); font-size: 4rem; font-weight: 700; color: var(--gold); border: 2px solid var(--gold); width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; }
.about__imgcard p { letter-spacing: 0.08em; color: var(--gold-soft); font-size: 0.95rem; }
.about__content .eyebrow { text-align: left; }
.about__content p { color: var(--muted); margin-top: 18px; }
.about__content .section__title { margin-top: 6px; text-align: left; }

.checklist { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink); font-weight: 500; }
.checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; background: var(--gold); color: var(--navy);
  border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700;
}

/* ---------- Cards (practice areas) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(194,161,77,0.5); }
.card__icon {
  width: 56px; height: 56px; border-radius: 8px; background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 20px;
}
.card h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 28px; transition: transform 0.2s ease, box-shadow 0.25s ease; }
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.member__photo {
  width: 110px; height: 110px; margin: 0 auto 20px; border-radius: 50%;
  background: linear-gradient(145deg, var(--navy), var(--navy-700));
  display: grid; place-items: center; border: 2px solid var(--gold);
}
.member__photo span { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--gold); }
.member h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); }
.member__role { color: var(--gold); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.04em; margin-bottom: 10px; }
.member__bio { color: var(--muted); font-size: 0.92rem; }

/* ---------- Why us (dark) ---------- */
.section--dark { background: var(--navy); }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.why__item { padding: 30px 32px; border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); background: rgba(255,255,255,0.03); border-left: 3px solid var(--gold); }
.why__item h3 { font-family: var(--serif); font-size: 1.45rem; color: #fff; margin-bottom: 10px; }
.why__item p { color: #b7c0d4; font-size: 0.96rem; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__info .eyebrow, .contact__info .section__title { text-align: left; }
.contact__info > p { color: var(--muted); margin-top: 16px; }
.contact__list { list-style: none; margin-top: 30px; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__ico { width: 44px; height: 44px; flex: 0 0 44px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; font-size: 1.1rem; }
.contact__list a:hover { color: var(--gold); }

.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,161,77,0.15);
}
.field textarea { resize: vertical; }
.form__note { margin-top: 14px; font-size: 0.9rem; text-align: center; }
.form__note.success { color: #2f7d4f; }
.form__note.error { color: #b23b3b; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #c9d1e0; padding-top: 56px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__brand .brand__name { color: #fff; font-size: 1.4rem; }
.footer__brand p { font-size: 0.9rem; color: #9aa6bd; margin-top: 4px; }
.footer__nav { display: flex; gap: 26px; }
.footer__nav a { font-size: 0.92rem; }
.footer__nav a:hover { color: var(--gold-soft); }
.footer__copy { font-size: 0.85rem; color: #9aa6bd; width: 100%; text-align: center; }
.footer__disclaimer { padding: 22px 24px 40px; }
.footer__disclaimer p { font-size: 0.78rem; color: #78839c; line-height: 1.7; max-width: 900px; margin: 0 auto; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .cards, .team { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: none; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; top: 76px; right: 0; width: 70%; max-width: 320px; height: calc(100vh - 76px);
    background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 20px 28px;
    transform: translateX(100%); transition: transform 0.3s ease; box-shadow: -10px 0 40px -20px rgba(0,0,0,0.4);
  }
  .nav.open { transform: translateX(0); }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 12px; }
  .nav__toggle { display: flex; }
  .topbar__meta { display: none; }
  .cards, .team, .why__grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .hero__inner { padding: 80px 24px 90px; }
}

@media (max-width: 480px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; text-align: center; }
}
