/* metoidioplastysurgery.com — static site rebuild
   Color/font values match the live Wix site's own visual identity (same
   practice/brand as seanelliottmd.com, confirmed visually against a live
   screenshot 2026-09-04 — tan/khaki header, rust/maroon accent buttons,
   dark navy-grey body text). Kept as its own independent stylesheet since
   this is a separate repo/domain, not a shared include with seanelliottmd.com. */

:root {
  --text-color: #272C36;
  --link-color: #1a5fb4;
  --max-width: 900px;
  --border-color: #e0e0e0;
  --header-bg: #bbb2a2;
  --accent-color: #6e5f42;
  --footer-bg: #4d576d;
  --rust-accent: #a9634e;
  --search-bg: #f2f2f2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Avenir Next", Avenir, "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: var(--text-color);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.4rem; margin-top: 2rem; }

a { color: var(--link-color); }

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

main img:not(.full-width) {
  max-width: 420px;
  display: block;
  margin: 1rem auto;
}

/* Header / nav — same collapsing-hamburger pattern as seanelliottmd.com
   for consistency across Sean's sites, independently implemented here. */
.site-header { background: var(--header-bg); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  gap: 1rem;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 700;
}

.site-header .brand img { width: 40px; height: auto; }

.brand-sub { font-weight: 400; display: block; font-size: 0.85em; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text-color); border-radius: 2px; }

.nav-panel { display: flex; align-items: center; gap: 1rem; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.3rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav li { position: relative; text-align: center; }

.site-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.85rem;
  display: block;
  line-height: 1.2;
}

.site-nav a:hover { color: var(--link-color); }

.site-nav .sub-nav {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.site-nav .sub-nav a { font-size: 0.78rem; opacity: 0.85; }

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .nav-panel { display: none; width: 100%; flex-direction: column; align-items: center; gap: 1rem; padding-top: 0.85rem; }
  .nav-panel.open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: center; }
}

.beta-banner {
  background: var(--header-bg);
  color: var(--rust-accent);
  text-align: center;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.6rem 1rem;
}

/* Main content */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.hero {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.cta-button {
  display: inline-block;
  background: var(--rust-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.7rem;
  border-radius: 4px;
  margin: 1.25rem 0;
}

.cta-button:hover { opacity: 0.9; color: #fff; }

/* Home / videos-and-photos card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: var(--header-bg);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.card img { max-width: 100%; width: 140px; margin: 0; }

.card h3 { margin: 0; font-size: 1.05rem; letter-spacing: 0.02em; }

.card p { margin: 0; font-size: 0.85rem; }

a.card:hover { opacity: 0.9; }

.card.card-disabled {
  cursor: default;
  opacity: 0.75;
}

.card-status {
  display: inline-block;
  background: var(--rust-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* Appointment picker */
.appt-picker {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2rem 0;
}

.appt-picker a.cta-button { margin: 0; min-width: 220px; }

/* Video list */
.video-list { display: flex; flex-direction: column; gap: 2rem; margin: 1.5rem 0; }

.video-item h3 { margin-bottom: 0.5rem; }

.video-embed {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  margin: 0.75rem 0;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 6px;
}

/* Feedback form */
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 560px;
  margin: 1.5rem 0;
}

.feedback-form label { font-weight: 700; font-size: 0.9rem; }

.feedback-form select,
.feedback-form textarea,
.feedback-form input[type="email"] {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  width: 100%;
}

.feedback-form textarea { min-height: 120px; resize: vertical; }

.feedback-form button {
  align-self: flex-start;
  background: var(--rust-accent);
  color: #fff;
  border: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.feedback-form button:hover { opacity: 0.9; }

.form-note {
  font-size: 0.85rem;
  color: #555;
}

.form-success {
  display: none;
  background: #eef7ee;
  border: 1px solid #b6dcb6;
  color: #2c5a2c;
  padding: 0.9rem 1.1rem;
  border-radius: 4px;
  margin: 1rem 0;
}

.form-success.visible { display: block; }

/* Star rating widget */
.star-rating { display: flex; gap: 0.25rem; font-size: 1.6rem; }
.star-rating button {
  background: none;
  border: none;
  cursor: pointer;
  color: #ccc;
  padding: 0;
  line-height: 1;
}
.star-rating button.active { color: var(--rust-accent); }

/* Decision tree */
.tree-progress {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* Plain (not bold) so the question no longer out-competes the maroon
   reasoning box above it for the eye's attention - Sean's feedback
   (2026-09-08) was that his eyes still went straight to this bold text
   instead of the maroon box, even after the box itself was made loud. */
.tree-question h2 { margin-top: 0; font-weight: 400; }

/* Deliberately loud styling (maroon background, bold white text) so the
   reasoning behind the answer you just picked doesn't get skipped over
   on the way to the next question box below it - Sean's feedback
   (2026-09-08, then again same day) was that the original quiet gray box
   was too easy for the eye to skip past, and then that even a maroon box
   still lost out to the bold question text below it. Bolding this text
   and un-bolding the question (see .tree-question h2 above) flips which
   one wins the eye's attention. */
.tree-comment {
  background: var(--rust-accent);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  padding: 1.1rem 1.25rem;
  margin: 1rem 0 1.5rem;
}

.tree-options {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 1.5rem 0;
}

.tree-option {
  display: block;
  text-align: left;
  background: var(--header-bg);
  border: none;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.tree-option:hover { background: #a89f8e; }

.tree-option .option-label { font-weight: 700; display: block; margin-bottom: 0.25rem; }

.tree-option .option-desc { font-size: 0.88rem; font-weight: 400; }

.tree-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.tree-nav-row button {
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

.tree-summary {
  background: #f7f7f8;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.tree-summary ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }

/* Footer */
.site-footer { background: var(--footer-bg); color: #fff; }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.site-footer p { color: #fff; margin: 0; }

.site-footer .partner-logos { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

.site-footer .partner-logos img { height: 40px; width: auto; background: #fff; border-radius: 4px; padding: 2px 6px; }

.appointment-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8e8ea;
}

.appointment-cta svg { width: 20px; height: 20px; fill: none; stroke: var(--text-color); stroke-width: 1.6; }

.appointment-cta:hover { opacity: 0.85; }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; text-align: center; }
}
