/* ===== GOODY LAW FIRM – MAIN STYLESHEET ===== */

/* ---- CSS Variables ---- */
:root {
  --navy:        #0a1f44;
  --navy-dark:   #061330;
  --navy-mid:    #122d5e;
  --navy-light:  #1a3a73;
  --gold:        #c9a84c;
  --gold-light:  #e0c06a;
  --white:       #ffffff;
  --off-white:   #f8fafd;
  --light-gray:  #f1f4f9;
  --mid-gray:    #dde3ed;
  --text-dark:   #0d1b35;
  --text-muted:  #5f6e87;
  --shadow:      0 4px 24px rgba(10,31,68,0.10);
  --shadow-lg:   0 10px 40px rgba(10,31,68,0.18);
  --radius:      8px;
  --radius-lg:   16px;
  --transition:  all 0.3s ease;
  --font-heading:'Playfair Display', Georgia, serif;
  --font-body:   'Inter', 'Segoe UI', sans-serif;
}

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

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(2rem,5vw,3.6rem); }
h2 { font-size: clamp(1.6rem,3.5vw,2.5rem); }
h3 { font-size: clamp(1.15rem,2.5vw,1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }

/* ---- Utilities ---- */
.container       { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 90px 0; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}

.section-title       { color: var(--navy);  margin-bottom: 1rem; }
.section-title.light { color: var(--white); }
.section-desc        { font-size: 1.05rem; max-width: 620px; color: var(--text-muted); }
.section-desc.light  { color: rgba(255,255,255,.75); }

.section-header               { text-align: center; margin-bottom: 56px; }
.section-header .section-desc { margin: 0 auto; }

.divider        { width: 56px; height: 3px; background: var(--gold); margin: 1rem 0 1.5rem; border-radius: 2px; }
.divider.center { margin: 1rem auto 1.5rem; }

/* White alternate rows */
.bg-white     { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-light     { background: var(--light-gray); }
.bg-navy      { background: var(--navy); }
.bg-navy-dark { background: var(--navy-dark); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 50px;
  font-weight: 600; font-size: .9rem; cursor: pointer;
  transition: var(--transition); border: 2px solid transparent;
  letter-spacing: .3px;
}
.btn-primary  { background: var(--gold);   color: var(--navy-dark); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,.4); }

.btn-outline  { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover  { background: var(--white); color: var(--navy); transform: translateY(-2px); }

.btn-navy     { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

/* =============================================
   NAVBAR
============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent; transition: var(--transition);
}
.navbar.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.nav-logo               { display: flex; align-items: center; gap: .75rem; }
.nav-logo .logo-icon    {
  width: 44px; height: 44px; background: var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900; color: var(--navy-dark);
  font-family: var(--font-heading); flex-shrink: 0;
}
.nav-logo .logo-text    { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo .firm-name    { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.nav-logo .firm-tag     { font-size: .62rem; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-links a {
  color: rgba(255,255,255,.85); font-size: .88rem; font-weight: 500;
  padding: .5rem .95rem; border-radius: 6px; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--gold); transition: var(--transition); border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 65%; }

.nav-cta { background: var(--gold) !important; color: var(--navy-dark) !important; font-weight: 700 !important; padding: .5rem 1.3rem !important; border-radius: 50px !important; }
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-cta::after { display: none !important; }

.hamburger        { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span   { display: block; width: 25px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
============================================= */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; background: var(--navy-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.pexels.com/photos/5668859/pexels-photo-5668859.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover;
  opacity: .22;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,19,48,.96) 0%, rgba(10,31,68,.88) 55%, rgba(18,45,94,.72) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; padding-top: 78px; width: 100%;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; min-height: calc(100vh - 78px);
}
.hero-text h1       { color: var(--white); margin-bottom: 1.5rem; }
.hero-text h1 span  { color: var(--gold); }
.hero-text p        { color: rgba(255,255,255,.78); font-size: 1.1rem; margin-bottom: 2rem; max-width: 520px; }
.hero-buttons       { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat-item .number  { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-item .label   { font-size: .78rem; color: rgba(255,255,255,.6); letter-spacing: 1px; margin-top: .3rem; }

.hero-image-side    { display: flex; justify-content: center; align-items: center; }
.hero-img-frame     { position: relative; width: 100%; max-width: 460px; }
.hero-img-frame img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-img-badge {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--gold); color: var(--navy-dark);
  padding: 1.2rem 1.5rem; border-radius: var(--radius); font-weight: 700;
  box-shadow: var(--shadow); text-align: center;
}
.hero-img-badge .badge-num  { font-family: var(--font-heading); font-size: 2rem; line-height: 1; display: block; }
.hero-img-badge .badge-text { font-size: .72rem; letter-spacing: 1px; }

/* Page Hero (inner pages) */
.page-hero          { min-height: 400px; display: flex; align-items: center; position: relative; background: var(--navy-dark); overflow: hidden; }
.page-hero-bg       { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .18; }
.page-hero-overlay  { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(6,19,48,.97) 0%,rgba(10,31,68,.9) 100%); }
.page-hero-content  { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 120px 1.5rem 60px; }
.page-hero h1       { color: var(--white); margin-bottom: 1rem; }
.page-hero p        { color: rgba(255,255,255,.75); max-width: 600px; font-size: 1.05rem; }

.breadcrumb         { display: flex; gap: .5rem; align-items: center; margin-bottom: 1.5rem; font-size: .82rem; }
.breadcrumb a       { color: var(--gold); }
.breadcrumb span    { color: rgba(255,255,255,.35); }
.breadcrumb .current{ color: rgba(255,255,255,.75); }

/* =============================================
   SERVICE CARDS
============================================= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(290px,1fr)); gap: 2rem; }

.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem; box-shadow: var(--shadow);
  border: 1px solid var(--mid-gray); transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--gold); transform: scaleX(0); transition: var(--transition);
}
.service-card:hover                  { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before          { transform: scaleX(1); }

.service-icon {
  width: 62px; height: 62px; background: var(--light-gray);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 1.4rem; transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--navy); }
.service-card h3   { margin-bottom: .85rem; }
.service-card p    { font-size: .92rem; margin-bottom: 1.4rem; }
.service-link      { color: var(--navy); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: .4rem; }
.service-link:hover{ color: var(--gold); gap: .75rem; }

/* =============================================
   WHY CHOOSE US (navy bg)
============================================= */
.why-us-bg { background: var(--navy); }

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

.why-image              { position: relative; }
.why-image img          { width: 100%; height: 490px; object-fit: cover; border-radius: var(--radius-lg); }
.why-image-badge {
  position: absolute; top: -15px; right: -15px;
  background: var(--gold); color: var(--navy-dark); width: 108px; height: 108px;
  border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-weight: 700; box-shadow: var(--shadow); text-align: center; font-size: .72rem;
}
.why-image-badge strong { font-family: var(--font-heading); font-size: 1.7rem; line-height: 1; }

.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2rem; }
.why-feature  { display: flex; gap: 1rem; align-items: flex-start; }
.why-feature-icon {
  width: 42px; height: 42px; background: rgba(201,168,76,.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; flex-shrink: 0;
}
.why-feature h4 { color: var(--white);             font-size: .95rem; margin-bottom: .2rem; }
.why-feature p  { font-size: .85rem; color: rgba(255,255,255,.62); margin: 0; }

/* =============================================
   STATS BAND
============================================= */
.stats-section { background: var(--navy-dark); padding: 70px 0; }
.stats-grid    { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat-box .number { font-family: var(--font-heading); font-size: 2.9rem; font-weight: 700; color: var(--gold); line-height: 1; display: block; }
.stat-box .label  { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: .5rem; letter-spacing: 1px; text-transform: uppercase; }

/* =============================================
   TEAM CARDS
============================================= */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(255px,1fr)); gap: 2rem; }

.team-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--mid-gray); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.team-img           { position: relative; overflow: hidden; height: 290px; }
.team-img img       { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.team-card:hover .team-img img { transform: scale(1.05); }

.team-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,19,48,.88) 0%, transparent 60%);
  opacity: 0; transition: var(--transition); display: flex; align-items: flex-end; padding: 1.4rem;
}
.team-card:hover .team-overlay { opacity: 1; }

.team-socials   { display: flex; gap: .7rem; }
.team-socials a {
  width: 36px; height: 36px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-dark); font-size: .82rem; transition: var(--transition);
}
.team-socials a:hover { background: var(--white); }

.team-info      { padding: 1.5rem; text-align: center; background: var(--white); }
.team-info h3   { font-size: 1.1rem; margin-bottom: .2rem; }
.team-role      { color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: .6rem; }
.team-info p    { font-size: .88rem; margin: 0; }

/* Full team page cards */
.team-detail-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); gap: 2.5rem; }
.team-card-lg { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.team-card-lg:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card-lg .team-img { height: 310px; }
.team-card-lg .team-info { text-align: left; padding: 1.75rem; }
.team-quals { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.team-quals span { background: var(--light-gray); color: var(--navy); font-size: .72rem; font-weight: 600; padding: .28rem .7rem; border-radius: 50px; }

/* =============================================
   TESTIMONIALS
============================================= */
.testimonials-bg    { background: var(--off-white); }
.testimonials-grid  { display: grid; grid-template-columns: repeat(auto-fit,minmax(290px,1fr)); gap: 2rem; }

.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem; box-shadow: var(--shadow);
  position: relative; border: 1px solid var(--mid-gray);
}
.quote-icon          { font-size: 4rem; color: var(--gold); line-height: 1; font-family: Georgia,serif; position: absolute; top: 1rem; left: 1.4rem; opacity: .25; }
.testimonial-text    { font-style: italic; font-size: .97rem; color: var(--text-dark); margin-bottom: 1.4rem; position: relative; z-index: 1; }
.testimonial-author  { display: flex; align-items: center; gap: 1rem; }
.author-img          { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-info h4      { font-size: .92rem; margin-bottom: .05rem; }
.author-info span    { font-size: .78rem; color: var(--text-muted); }
.stars               { color: var(--gold); font-size: .82rem; margin-bottom: .7rem; }

/* =============================================
   NEWS / BLOG
============================================= */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(310px,1fr)); gap: 2rem; }

.news-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--mid-gray); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-img         { height: 215px; overflow: hidden; }
.news-img img     { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body        { padding: 1.65rem; background: var(--white); }
.news-meta        { display: flex; gap: 1rem; margin-bottom: .9rem; font-size: .78rem; color: var(--text-muted); }
.news-tag         { color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.news-body h3     { font-size: 1.1rem; margin-bottom: .65rem; transition: var(--transition); }
.news-card:hover .news-body h3 { color: var(--gold); }
.news-body p      { font-size: .88rem; margin-bottom: 1.1rem; }

/* =============================================
   CTA SECTION
============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  padding: 90px 0; position: relative; overflow: hidden; text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.pexels.com/photos/5668882/pexels-photo-5668882.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover;
  opacity: .07;
}
.cta-content     { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; padding: 0 1.5rem; }
.cta-content h2  { color: var(--white); margin-bottom: 1.1rem; }
.cta-content p   { color: rgba(255,255,255,.75); font-size: 1.08rem; margin-bottom: 2.25rem; }
.cta-buttons     { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =============================================
   ABOUT PAGE
============================================= */
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-intro-img  { position: relative; }
.about-intro-img img { width: 100%; height: 510px; object-fit: cover; border-radius: var(--radius-lg); }
.about-intro-img .img-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 170px; height: 170px; background: var(--navy); border-radius: var(--radius-lg); z-index: -1;
}

.mission-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.mv-card { background: var(--white); padding: 2.4rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.mv-card h3 { margin-bottom: .9rem; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 2rem; }
.value-card {
  text-align: center; padding: 2.25rem 1.5rem;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  transition: var(--transition); border: 1px solid var(--mid-gray);
}
.value-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.value-icon { font-size: 2.4rem; margin-bottom: 1.1rem; }

/* Timeline */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--mid-gray); transform: translateX(-50%);
}
.timeline-item { display: flex; gap: 2rem; align-items: flex-start; margin-bottom: 2.5rem; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-item:nth-child(even) .timeline-content { text-align: right; }
.timeline-year {
  min-width: 76px; text-align: center; font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700; color: var(--gold); background: var(--navy);
  padding: .45rem; border-radius: var(--radius); flex-shrink: 0;
}
.timeline-content { flex: 1; background: var(--white); padding: 1.4rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.timeline-content h4 { margin-bottom: .4rem; }
.timeline-content p  { font-size: .88rem; margin: 0; }

/* =============================================
   PRACTICE AREAS PAGE
============================================= */
.practice-detail-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(330px,1fr)); gap: 2.5rem; }

.practice-card-lg { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--mid-gray); }
.practice-card-lg:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.practice-card-img  { height: 235px; overflow: hidden; position: relative; }
.practice-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.practice-card-lg:hover .practice-card-img img { transform: scale(1.05); }
.practice-label {
  position: absolute; top: 1rem; left: 1rem; background: var(--gold);
  color: var(--navy-dark); font-size: .72rem; font-weight: 700;
  padding: .28rem .8rem; border-radius: 50px; letter-spacing: 1px;
}
.practice-card-body { padding: 1.9rem; background: var(--white); }
.practice-card-body h3 { margin-bottom: .9rem; }
.practice-card-body p  { font-size: .92rem; margin-bottom: 1.1rem; }
.practice-tags         { display: flex; flex-wrap: wrap; gap: .4rem; }
.practice-tags span    { background: var(--light-gray); color: var(--navy); font-size: .72rem; font-weight: 600; padding: .28rem .7rem; border-radius: 50px; }

/* Process steps */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 2rem; }
.process-step { text-align: center; padding: 2rem 1.4rem; }
.step-number  {
  width: 62px; height: 62px; background: var(--navy); color: var(--gold);
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.4rem; box-shadow: 0 4px 14px rgba(10,31,68,.3);
}
.process-step h4 { margin-bottom: .6rem; }
.process-step p  { font-size: .88rem; }

/* =============================================
   AWARDS
============================================= */
.awards-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 2rem; }
.award-card  {
  text-align: center; padding: 2.25rem 1.5rem;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid var(--mid-gray); transition: var(--transition);
}
.award-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.award-icon  { font-size: 2.4rem; margin-bottom: 1rem; }
.award-card h4 { margin-bottom: .4rem; font-size: .95rem; }
.award-card p  { font-size: .82rem; margin: 0; }

/* =============================================
   PARTNERS
============================================= */
.partners-bg  { background: var(--off-white); }
.partners-row { display: flex; flex-wrap: wrap; gap: 1.75rem; justify-content: center; align-items: center; }
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  width: 155px; height: 68px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); font-family: var(--font-heading); font-size: .92rem;
  font-weight: 700; color: var(--navy); padding: .6rem 1.4rem;
  transition: var(--transition); text-align: center; border: 1px solid var(--mid-gray);
}
.partner-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--gold); }

/* =============================================
   FAQ
============================================= */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item  { border: 1px solid var(--mid-gray); border-radius: var(--radius); margin-bottom: 1rem; overflow: hidden; background: var(--white); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 1.5rem; cursor: pointer; font-weight: 600; color: var(--navy);
  transition: var(--transition); user-select: none;
}
.faq-question:hover { background: var(--light-gray); }
.faq-icon          { font-size: 1.2rem; color: var(--gold); transition: var(--transition); flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer        { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-answer-inner  { padding: 0 1.5rem 1.5rem; color: var(--text-muted); font-size: .93rem; line-height: 1.8; }
.faq-item.active .faq-answer { max-height: 300px; }

/* =============================================
   CONTACT PAGE
============================================= */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }

.contact-item { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.75rem; }
.contact-icon {
  width: 50px; height: 50px; background: var(--navy); color: var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; flex-shrink: 0;
}
.contact-item-text h4 { margin-bottom: .2rem; }
.contact-item-text p  { font-size: .88rem; margin: 0; }

.contact-hours     { background: var(--light-gray); border-radius: var(--radius); padding: 1.4rem; margin-top: 1.75rem; }
.contact-hours h4  { margin-bottom: .9rem; }
.hours-row         { display: flex; justify-content: space-between; font-size: .88rem; padding: .38rem 0; border-bottom: 1px solid var(--mid-gray); }
.hours-row:last-child { border-bottom: none; }
.hours-row span:last-child { color: var(--navy); font-weight: 600; }

/* Contact Form */
.contact-form-wrapper {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.75rem; box-shadow: var(--shadow); border: 1px solid var(--mid-gray);
}
.form-title { margin-bottom: .4rem; }
.form-desc  { margin-bottom: 1.75rem; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block; font-size: .84rem; font-weight: 600; color: var(--navy); margin-bottom: .45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .8rem 1.05rem;
  border: 1.5px solid var(--mid-gray); border-radius: var(--radius);
  font-family: var(--font-body); font-size: .92rem; color: var(--text-dark);
  background: var(--off-white); transition: var(--transition); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy); background: var(--white);
  box-shadow: 0 0 0 3px rgba(10,31,68,.08);
}
.form-group textarea { min-height: 135px; resize: vertical; }
.form-group select   {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230a1f44' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.form-submit { width: 100%; padding: 1rem; font-size: .97rem; border: none; }
.form-privacy { font-size: .78rem; color: var(--text-muted); margin-top: 1rem; text-align: center; }
.form-privacy a { color: var(--navy); text-decoration: underline; }

.form-message { padding: .95rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.4rem; font-size: .92rem; font-weight: 500; display: none; }
.form-message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-message.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Map placeholder */
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 420px; }
.map-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .9rem;
  background: linear-gradient(135deg,var(--navy-dark),var(--navy-mid));
}
.map-placeholder .map-icon { font-size: 2.75rem; color: var(--gold); }
.map-placeholder h3 { color: var(--white); }
.map-placeholder p  { color: rgba(255,255,255,.65); text-align: center; max-width: 320px; font-size: .9rem; }

/* =============================================
   FOOTER
============================================= */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding-top: 80px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .nav-logo { margin-bottom: 1.4rem; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.58); line-height: 1.8; margin-bottom: 1.4rem; }
.footer-socials { display: flex; gap: .7rem; }
.footer-socials a {
  width: 38px; height: 38px; background: rgba(255,255,255,.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; color: rgba(255,255,255,.65); transition: var(--transition);
}
.footer-socials a:hover { background: var(--gold); color: var(--navy-dark); }

.footer-col h4 {
  color: var(--white); font-size: .95rem; margin-bottom: 1.4rem;
  position: relative; padding-bottom: .7rem;
}
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }

.footer-links { display: flex; flex-direction: column; gap: .7rem; }
.footer-links a { color: rgba(255,255,255,.58); font-size: .88rem; display: flex; align-items: center; gap: .4rem; }
.footer-links a:hover { color: var(--gold); gap: .7rem; }

.footer-newsletter p { font-size: .88rem; color: rgba(255,255,255,.58); margin-bottom: 1.1rem; }
.newsletter-form { display: flex; overflow: hidden; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.15); }
.newsletter-form input { flex: 1; padding: .72rem 1rem; background: rgba(255,255,255,.07); border: none; color: var(--white); font-size: .84rem; outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,.38); }
.newsletter-form button { padding: .72rem 1.2rem; background: var(--gold); color: var(--navy-dark); border: none; font-weight: 700; font-size: .82rem; cursor: pointer; transition: var(--transition); }
.newsletter-form button:hover { background: var(--gold-light); }

.footer-bottom { padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a { color: rgba(255,255,255,.4); font-size: .82rem; }
.footer-legal a:hover { color: var(--gold); }

/* Scroll-to-top */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px;
  background: var(--gold); color: var(--navy-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transition: var(--transition); z-index: 999; border: none;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover   { background: var(--gold-light); transform: translateY(-3px); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .hero-grid           { grid-template-columns: 1fr; gap: 2rem; }
  .hero-image-side     { display: none; }
  .hero-content        { text-align: center; }
  .hero-text p         { margin: 0 auto 2rem; }
  .hero-buttons        { justify-content: center; }
  .hero-stats          { max-width: 400px; margin: 2rem auto 0; }
  .why-grid            { grid-template-columns: 1fr; }
  .why-image           { max-width: 540px; margin: 0 auto; }
  .about-intro-grid    { grid-template-columns: 1fr; }
  .contact-layout      { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid          { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 78px; left: 0; right: 0; background: var(--navy-dark);
    flex-direction: column; padding: 1.75rem; gap: .4rem;
    transform: translateY(-100%); opacity: 0; visibility: hidden;
    transition: var(--transition); border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
  }
  .nav-links.open    { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a       { padding: .7rem 1rem; font-size: .97rem; width: 100%; text-align: center; }
  .section-padding   { padding: 65px 0; }
  .form-row          { grid-template-columns: 1fr; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom     { flex-direction: column; text-align: center; }
  .timeline::before  { left: 0; }
  .timeline-item     { flex-direction: column !important; padding-left: 1.25rem; }
  .timeline-item:nth-child(even) .timeline-content { text-align: left; }
  .timeline-year     { align-self: flex-start; }
  .contact-form-wrapper { padding: 2rem 1.4rem; }
  .stats-grid        { grid-template-columns: repeat(2,1fr); }
  .why-features      { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-buttons   { flex-direction: column; align-items: center; }
  .hero-stats     { grid-template-columns: 1fr; }
  .cta-buttons    { flex-direction: column; align-items: center; }
  .practice-detail-grid { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: 1fr; }
  .news-grid      { grid-template-columns: 1fr; }
  .awards-grid    { grid-template-columns: 1fr 1fr; }
  .partners-row   { gap: 1rem; }
  .partner-logo   { width: 125px; font-size: .82rem; }
}

/* Scroll animation */
@keyframes fadeInUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
