/* ============================================================
   New Horizon Surgical Consulting, PLLC
   Main Stylesheet
   ============================================================ */

:root {
  --navy:       #1a2e4a;
  --navy-dark:  #0f1e31;
  --navy-light: #2a4568;
  --gold:       #b8922a;
  --gold-light: #d4a93c;
  --white:      #ffffff;
  --off-white:  #f7f8fa;
  --gray-light: #e8edf3;
  --gray:       #8a96a3;
  --gray-dark:  #4a5568;
  --text:       #1e2a3a;
  --font-sans:  'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.14);
  --radius:     6px;
  --transition: 0.25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Layout Utilities ---- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 5rem 0;
}
.section--alt {
  background: var(--off-white);
}
.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section__header h2 { margin-bottom: .75rem; }
.section__header p { color: var(--gray-dark); max-width: 600px; margin: 0 auto; }
.divider {
  width: 56px; height: 3px;
  background: var(--gold);
  margin: .75rem auto 0;
  border-radius: 2px;
}
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ============================
   NAVIGATION
   ============================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
}
.nav__brand {
  display: flex;
  flex-direction: column;
}
.nav__brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.2;
}
.nav__brand-sub {
  font-size: .7rem;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav__links a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color var(--transition);
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
  border-bottom-color: var(--gold);
}
.nav__cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: .5rem 1.2rem;
  border-radius: var(--radius);
  border-bottom: none !important;
  font-weight: 600 !important;
}
.nav__cta:hover {
  background: var(--gold-light) !important;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================
   HERO
   ============================ */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero__eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(8px);
}
.hero__card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.hero__stat-value {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero__stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-top: .25rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ============================
   CREDENTIAL STRIP
   ============================ */
.cred-strip {
  background: var(--navy-dark);
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.cred-strip__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
}
.cred-strip__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .03em;
}
.cred-strip__item svg {
  flex-shrink: 0;
  color: var(--gold);
}
.cred-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.15);
}

/* ============================
   SERVICES GRID
   ============================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--off-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--navy);
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: .6rem;
}
.service-card p {
  font-size: .9rem;
  color: var(--gray-dark);
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--transition);
}
.service-card__link:hover { gap: .6rem; }

/* ============================
   ABOUT PREVIEW / ABOUT PAGE
   ============================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-placeholder {
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-placeholder svg {
  opacity: .25;
  width: 60%;
  color: var(--white);
}
.about-img-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--gold);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-img-badge strong { display: block; font-size: 1.5rem; font-weight: 700; }
.about-img-badge span  { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.about__credentials {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.about__cred-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
}
.about__cred-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: .5rem;
}

/* ============================
   TESTIMONIALS / QUOTE
   ============================ */
.quote-section {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.quote-section blockquote {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.5;
  color: rgba(255,255,255,.92);
}
.quote-section cite {
  display: block;
  margin-top: 1.5rem;
  font-size: .85rem;
  font-style: normal;
  color: var(--gold);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ============================
   SPECIALTIES LIST (Services page)
   ============================ */
.specialty-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--gray-light);
}
.specialty-block:last-child { border-bottom: none; }
.specialty-block--reverse { direction: rtl; }
.specialty-block--reverse > * { direction: ltr; }
.specialty-icon {
  width: 72px;
  height: 72px;
  background: var(--navy);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.specialty-block h3 { margin-bottom: .75rem; }
.specialty-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem .5rem;
  margin-top: 1.25rem;
}
.specialty-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--gray-dark);
}
.specialty-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p  { color: rgba(255,255,255,.75); margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { margin: .4rem; }

/* ============================
   CONTACT
   ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-info__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.contact-info__label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  margin-bottom: .25rem;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,46,74,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ============================
   PATIENT INFO
   ============================ */
.faq-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  background: var(--white);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { background: var(--off-white); }
.faq-body {
  padding: 1rem 1.5rem 1.25rem;
  font-size: .9rem;
  color: var(--gray-dark);
  background: var(--white);
  border-top: 1px solid var(--gray-light);
}

/* ============================
   INFO CARDS
   ============================ */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.info-card {
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: var(--white);
}
.info-card svg { margin: 0 auto 1rem; color: var(--navy); }
.info-card h4 { margin-bottom: .5rem; }
.info-card p  { font-size: .88rem; color: var(--gray-dark); }

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.6);
  padding: 3.5rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: .35rem;
}
.footer__brand-sub {
  font-size: .72rem;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer__desc { font-size: .85rem; line-height: 1.65; }
.footer__col-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.footer__links li + li { margin-top: .55rem; }
.footer__links a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--gold); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .85rem;
  margin-bottom: .75rem;
}
.footer__contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer__copy { font-size: .8rem; }
.footer__legal { font-size: .75rem; color: rgba(255,255,255,.35); }

/* ============================
   PAGE HEADER (inner pages)
   ============================ */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 4rem 0 3.5rem;
}
.page-header h1 { color: var(--white); margin-bottom: .75rem; }
.page-header p  { color: rgba(255,255,255,.75); max-width: 580px; }
.breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 .4rem; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
  .hero__inner       { grid-template-columns: 1fr; gap: 3rem; }
  .hero__card        { display: none; }
  .about-grid        { grid-template-columns: 1fr; }
  .about-img-wrap    { max-width: 340px; margin: 0 auto; }
  .specialty-block   { grid-template-columns: 1fr; gap: 2rem; direction: ltr; }
  .contact-grid      { grid-template-columns: 1fr; }
  .footer__grid      { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__links        { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 1rem 1.5rem; gap: .75rem; }
  .nav__links.open   { display: flex; }
  .nav__toggle       { display: flex; }
  .nav               { position: relative; }
  .form-row          { grid-template-columns: 1fr; }
  .footer__grid      { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom    { flex-direction: column; text-align: center; }
  .specialty-list    { grid-template-columns: 1fr; }
  .hero__actions     { flex-direction: column; }
}

/* ============================
   UTILITY
   ============================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.highlight-box {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: .92rem;
}
.tag {
  display: inline-block;
  padding: .2rem .65rem;
  background: var(--gray-light);
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .03em;
}
