/* ==========================================
   MICHELE FENTON PLLC — FAMILY LAW
   Palette: Navy #1B2B4B, Gold #B8963E, Cream #F5F0E8
   Fonts: Cormorant Garamond (display) + Lato (body)
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1B2B4B;
  --navy-dark: #111c32;
  --gold:   #B8963E;
  --gold-light: #d4af5a;
  --cream:  #F5F0E8;
  --white:  #FFFFFF;
  --gray:   #6b7280;
  --light:  #f9f7f4;
  --radius: 2px;
  --shadow: 0 4px 24px rgba(27,43,75,0.10);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #2d2d2d;
  background: var(--white);
  line-height: 1.7;
}

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

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; }
p  { margin-bottom: 1rem; }

/* ---- BUTTONS ---- */
.button {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.button:hover, .button:focus {
  background: var(--gold);
  color: var(--white);
}
.button.primary {
  background: var(--gold);
  color: var(--white);
}
.button.primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.button.white {
  border-color: var(--white);
  color: var(--white);
}
.button.white:hover {
  background: var(--white);
  color: var(--navy);
}

/* ========================================
   HEADER / NAV
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.3;
}
.brand span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
  transition: color var(--transition);
}
.nav a:hover { color: var(--gold); }
.nav .button { margin-left: 0.5rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  background: var(--navy);
  background-image:
    linear-gradient(135deg, rgba(27,43,75,0.97) 60%, rgba(184,150,62,0.15) 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: 'MF';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 28rem;
  font-weight: 700;
  color: rgba(184,150,62,0.06);
  pointer-events: none;
  line-height: 1;
}

.hero .wrap { position: relative; }

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.hero h1 {
  color: var(--white);
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}

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

/* ========================================
   SECTION SHARED
   ======================================== */
section { padding: 5rem 0; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0 2rem;
}

/* ========================================
   PRACTICE AREAS
   ======================================== */
.practice-areas {
  background: var(--light);
}

.practice-areas .intro {
  max-width: 620px;
  margin-bottom: 3rem;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.practice-card {
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(27,43,75,0.15);
}
.practice-card .icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.practice-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.practice-card p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0;
}

/* ========================================
   WHY CHOOSE
   ======================================== */
.why-choose { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-text .section-label { margin-top: 0; }

.pillars {
  list-style: none;
  margin: 2rem 0;
}
.pillars li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.pillars .pillar-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.pillars .pillar-text strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.pillars .pillar-text p {
  font-size: 0.88rem;
  color: var(--gray);
  margin: 0;
}

.why-visual {
  background: var(--navy);
  padding: 3rem;
  color: var(--white);
  position: relative;
}
.why-visual::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: -1rem;
  bottom: -1rem;
  border: 2px solid var(--gold);
  pointer-events: none;
}
.tagline-block {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.tagline-block em { color: var(--gold); font-style: normal; }
.visual-meta {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ========================================
   CTA BAR
   ======================================== */
.cta-bar {
  background: var(--gold);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}
.cta-bar h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-bar p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* ========================================
   TESTIMONIALS (index preview)
   ======================================== */
.testimonials-section { background: var(--navy); }
.testimonials-section .section-label { color: var(--gold); }
.testimonials-section h2 { color: var(--white); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--gold);
  padding: 2rem;
  color: rgba(255,255,255,0.85);
}
.testimonial-card .quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.testimonial-card .attribution {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */
.page-hero {
  background: var(--navy);
  padding: 4rem 0 3.5rem;
  border-bottom: 2px solid var(--gold);
}
.page-hero h1 { color: var(--white); }
.page-hero .section-label { margin-top: 0; }

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.about-photo-placeholder {
  background: var(--navy);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border: 2px solid rgba(184,150,62,0.3);
  position: relative;
}
.about-photo-placeholder::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  pointer-events: none;
}
.credentials {
  list-style: none;
  margin: 1.5rem 0;
}
.credentials li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(27,43,75,0.1);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.credentials li::before {
  content: '▸';
  color: var(--gold);
  font-size: 0.7rem;
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.services-list { background: var(--light); }

.service-item {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.service-item h3 {
  margin-bottom: 0.5rem;
}
.service-item p {
  font-size: 0.92rem;
  color: var(--gray);
  margin: 0;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section { background: var(--light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: #2d2d2d;
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 1rem;
  line-height: 1.5;
}

.contact-info h3 { margin-bottom: 1.5rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-info-item .ci-icon {
  width: 38px;
  height: 38px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.contact-info-item .ci-text {
  font-size: 0.88rem;
}
.contact-info-item .ci-text strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.disclaimer-box {
  background: rgba(27,43,75,0.05);
  border-left: 3px solid var(--gold);
  padding: 1.25rem;
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 2rem;
  line-height: 1.6;
}

/* ========================================
   TESTIMONIALS PAGE
   ======================================== */
.testimonials-page { background: var(--light); }
.testimonial-full {
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.testimonial-full .quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 1rem;
  display: block;
}
.testimonial-full .quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.testimonial-full .attribution {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-desc { font-size: 0.85rem; line-height: 1.6; }
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-family: 'Lato', sans-serif;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom .developer { color: rgba(255,255,255,0.3); }
.footer-bottom .developer a { color: rgba(184,150,62,0.6); }
.footer-bottom .developer a:hover { color: var(--gold); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; gap: 0; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid rgba(184,150,62,0.3);
  }
  .nav a { padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav .button { margin: 0.75rem 0 0; text-align: center; }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }

  .hero { padding: 3.5rem 0 3rem; }
  .hero::before { display: none; }
  .hero-actions { flex-direction: column; }

  .why-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo-placeholder { aspect-ratio: 4/3; }
  .why-visual::before { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
