/* ============================================================
   Alpha Mediation Group — Main Stylesheet
   Colors: Navy #1B2A4A | Gold #C9A84C | White #FFFFFF
   ============================================================ */

:root {
  --navy: #1B2A4A;
  --navy-light: #243660;
  --gold: #C9A84C;
  --gold-dark: #b8943d;
  --white: #FFFFFF;
  --gray-light: #F5F6F8;
  --gray-mid: #E8E9EC;
  --gray-text: #666;
  --dark-text: #1A1A2E;
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--dark-text);
  line-height: 1.6;
  background: var(--white);
}

/* ---- Typography ---- */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }
p  { margin-bottom: 1rem; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Layout ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 60px 0; }
.section-light { background: var(--gray-light); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--gold); }

/* ---- Navigation ---- */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.nav-logo-sub {
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-logo-badge {
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
  font-size: 1.3rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 5px;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  text-decoration: none;
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
}

.nav-cta:hover { background: var(--gold-dark) !important; }

.nav-phone {
  color: var(--gold) !important;
  font-weight: 600;
  font-size: 0.95rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 3px;
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1a3a6a 100%);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.trust-item .icon {
  color: var(--gold);
  font-size: 1.2rem;
  min-width: 20px;
}

/* ---- Hero Form Card ---- */
.hero-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-form-card h3 {
  color: var(--navy);
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.hero-form-card p {
  color: var(--gray-text);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* ---- Forms ---- */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--gray-mid);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: border-color 0.2s;
  background: var(--white);
  color: var(--dark-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--gray-text);
  text-align: center;
  margin-top: 10px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-main);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  width: 100%;
  font-size: 1.05rem;
  padding: 16px;
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(201,168,76,0.4);
  text-decoration: none;
  color: var(--navy);
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--gray-light);
  text-decoration: none;
  color: var(--navy);
}

.cta-large {
  font-size: 1.1rem;
  padding: 18px 35px;
  border-radius: 10px;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--gold);
  padding: 20px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item .number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
  margin-top: 4px;
}

/* ---- Practice Areas Grid ---- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.practice-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 12px;
  padding: 25px 20px;
  transition: all 0.3s;
  display: block;
  text-decoration: none;
  color: var(--dark-text);
}

.practice-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 25px rgba(27,42,74,0.12);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--dark-text);
}

.practice-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.practice-card h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

.practice-card p {
  color: var(--gray-text);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.practice-card .arrow {
  color: var(--gold);
  margin-top: 12px;
  font-weight: 700;
  display: block;
}

/* ---- Why Choose Section ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  padding: 25px 20px;
}

.why-card .icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.why-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.why-card p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 0; }

/* ---- Guarantee Banner ---- */
.guarantee-banner {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: 40px 0;
  text-align: center;
}

.guarantee-banner h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.guarantee-banner p {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 25px;
  opacity: 0.85;
}

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-left: 4px solid var(--gold);
}

.testimonial-stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 12px; }
.testimonial-text { font-style: italic; color: var(--gray-text); margin-bottom: 15px; }
.testimonial-author { font-weight: 700; color: var(--navy); }
.testimonial-location { font-size: 0.85rem; color: var(--gray-text); }

/* ---- Practice Area Page ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 60px 0;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 15px; }
.page-hero .subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.page-hero .quick-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.trust-pill {
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---- Content Sections ---- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 50px;
  align-items: start;
}

.content-main h2 {
  color: var(--navy);
  margin: 35px 0 15px;
  padding-top: 10px;
  border-top: 3px solid var(--gold);
  display: inline-block;
  padding-right: 20px;
}

.content-main h2:first-of-type { margin-top: 0; }

.scenarios-list {
  list-style: none;
  padding: 0;
}

.scenarios-list li {
  padding: 12px 15px 12px 40px;
  margin-bottom: 8px;
  background: var(--gray-light);
  border-radius: 8px;
  position: relative;
  font-size: 0.95rem;
}

.scenarios-list li::before {
  content: '✓';
  position: absolute;
  left: 12px;
  color: var(--gold);
  font-weight: 900;
  font-size: 1.1rem;
}

/* ---- Sticky Sidebar ---- */
.sidebar-sticky {
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: var(--white);
  border: 2px solid var(--gray-mid);
  border-radius: 16px;
  padding: 30px 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.sidebar-card.gold-border { border-color: var(--gold); }

.sidebar-card h3 {
  color: var(--navy);
  margin-bottom: 20px;
  font-size: 1.1rem;
  text-align: center;
}

.arman-profile {
  text-align: center;
  margin-bottom: 20px;
}

.arman-avatar {
  width: 80px;
  height: 80px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 2rem;
  color: var(--gold);
}

.arman-name { font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.arman-title { font-size: 0.82rem; color: var(--gray-text); margin: 3px 0 0; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--gray-light);
  border-radius: 8px;
  font-size: 0.9rem;
}

.contact-item .icon { font-size: 1.2rem; min-width: 24px; }
.contact-item a { color: var(--navy); font-weight: 600; }

/* ---- Pricing Box ---- */
.pricing-box {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 20px;
}

.pricing-box h3 { margin-bottom: 15px; color: var(--navy); }

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-mid);
  font-size: 0.9rem;
}

.pricing-item:last-child { border-bottom: none; }
.pricing-item .price { font-weight: 700; color: var(--gold); }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  gap: 15px;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-main);
  font-size: 0.95rem;
}

.faq-question:hover { background: var(--gray-light); }

.faq-toggle {
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  min-width: 24px;
  transition: transform 0.3s;
  font-weight: 300;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  color: var(--gray-text);
  font-size: 0.95rem;
  background: var(--gray-light);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 15px 20px 20px;
}

/* ---- Consultation Box ---- */
.consultation-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  padding: 35px 30px;
  text-align: center;
}

.consultation-box h2 { color: var(--gold); margin-bottom: 15px; }
.consultation-box p { color: rgba(255,255,255,0.8); margin-bottom: 25px; }

/* ---- Footer ---- */
footer {
  background: #0F1925;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 { color: var(--gold); margin-bottom: 10px; font-size: 1.2rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-col h4 {
  color: var(--white);
  margin-bottom: 15px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p { font-size: 0.83rem; }
.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  max-width: 600px;
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); padding: 15px; gap: 5px; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar-sticky { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .hero { padding: 50px 0 60px; }
  .hero-form-card { padding: 25px 20px; }

  .practice-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero .quick-trust { flex-direction: column; }
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-30 { margin-top: 30px; }

/* ---- Thank you page ---- */
.thankyou-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}

.thankyou-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.thankyou-section h1 { color: var(--gold); margin-bottom: 15px; }
.thankyou-section p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 500px; margin: 0 auto 20px; }

/* ── Mobile/formatting fixes ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 40px 0 50px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-form-card { padding: 20px 15px; }
  .container { padding: 0 15px; }
  .form-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .nav-links a { font-size: 0.85rem; padding: 8px 10px; }
}

/* ── Sidebar button fix ──────────────────────────────────────────────────── */
.sidebar-card .btn-primary,
.sidebar-card .btn-full {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 15px;
  position: relative;
  z-index: 1;
  clear: both;
}

.sidebar-card ul {
  padding-bottom: 10px;
  margin-bottom: 5px;
}

.sidebar-card ul li {
  margin-bottom: 8px;
  line-height: 1.4;
}
