/* ============================================
   AAMZ Consulting — Main Stylesheet
   Fonts: Syne (headings), DM Sans (body)
   Colors: Navy #0B1B35, Gold #C89A3F
   ============================================ */

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

:root {
  --navy:       #0B1B35;
  --navy2:      #132444;
  --gold:       #C89A3F;
  --gold-light: #E8B84B;
  --cream:      #F5F1EB;
  --off-white:  #FDFAF5;
  --text-dark:  #0B1B35;
  --text-muted: #5A6478;
  --border:     rgba(11, 27, 53, 0.12);
  --font-head:  'Syne', sans-serif;
  --font-body:  'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 5vw;
  background: rgba(11, 27, 53, 0.97);
  backdrop-filter: blur(10px);
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 0.55rem 1.3rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--gold-light);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 7rem 5vw 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 154, 63, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 154, 63, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 154, 63, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 154, 63, 0.12);
  border: 1px solid rgba(200, 154, 63, 0.3);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: block;
}

h1 {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
  letter-spacing: 0.03em;
}

/* ── SECTIONS (shared) ── */
section {
  padding: 6rem 5vw;
}

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

h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── ABOUT ── */
#about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.about-text h2 { margin-bottom: 1rem; }

.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
}

.pillar-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.pillar h4 {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.pillar p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-visual {
  background: var(--navy);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.about-visual-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 154, 63, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 154, 63, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.about-visual-content {
  position: relative;
  z-index: 1;
}

.service-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 24px;
  margin-top: 3px;
}

.service-info h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.service-info p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* ── TESTIMONIALS ── */
#testimonials {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 154, 63, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 154, 63, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.testimonials-header {
  max-width: 560px;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.testimonials-header h2 {
  color: #fff;
}

.testimonials-header .section-sub {
  color: rgba(255, 255, 255, 0.55);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.testi-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.testi-card::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 1rem; right: 1.5rem;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.star {
  color: var(--gold);
  font-size: 0.9rem;
}

.testi-card blockquote {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}

.author-role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1px;
}

/* ── CASE STUDY ── */
#case-study {
  background: var(--off-white);
}

.cs-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.cs-card {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(11, 27, 53, 0.07);
}

.cs-meta-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  padding: 1.75rem 2.5rem;
  gap: 1.5rem;
}

.cs-meta-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.cs-meta-value {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.cs-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.cs-block h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0.5rem 0 0.9rem;
}

.cs-block p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.97rem;
  margin-bottom: 0.75rem;
}

.cs-block p:last-child {
  margin-bottom: 0;
}

.cs-block-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.cs-block-label.challenge {
  background: rgba(224, 92, 92, 0.1);
  color: #c04040;
}

.cs-block-label.action {
  background: rgba(200, 154, 63, 0.12);
  color: var(--gold);
}

.cs-block-label.result {
  background: rgba(45, 155, 111, 0.12);
  color: #2D9B6F;
}

.cs-list {
  margin: 0.75rem 0 0.75rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cs-list li {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.97rem;
}

.cs-list li strong {
  color: var(--text-dark);
}

.cs-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(200, 154, 63, 0.2);
  border: 1px solid rgba(200, 154, 63, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

.cs-metric {
  background: var(--navy);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.cs-metric-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.cs-metric-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.cs-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  background: var(--cream);
  border-top: 1px solid var(--border);
  gap: 1rem;
}

.cs-footer-cta p {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

/* ── FAQ ── */
#faq {
  background: var(--cream);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-top: 3rem;
}

.faq-sidebar h2 { margin-bottom: 1rem; }

.faq-sidebar p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.faq-sidebar a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--gold);
  border-left: 3px solid var(--gold);
}

.faq-q {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.faq-q:hover {
  background: rgba(11, 27, 53, 0.03);
}

.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s;
}

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

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding: 0 1.5rem;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 1.5rem 1.2rem;
}

/* ── CONTACT ── */
#contact {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}

.contact-info .section-label {
  color: var(--gold-light);
}

.contact-info h2 { color: #fff; }

.contact-info p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  font-size: 0.95rem;
  margin-top: 1rem;
}

.contact-channels {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.channel-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(200, 154, 63, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.channel-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.channel-value {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-top: 1px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

input, textarea, select {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-body);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

input:focus, textarea:focus, select:focus {
  border-color: rgba(200, 154, 63, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

select option {
  background: var(--navy2);
  color: #fff;
}

.form-error {
  color: #e05c5c;
  font-size: 0.85rem;
  min-height: 1.2em;
  margin-bottom: 0.5rem;
}

.field-error {
  display: block;
  color: #e05c5c;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.form-success-msg {
  background: rgba(45, 155, 111, 0.15);
  border: 1px solid #2D9B6F;
  color: #2D9B6F;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.submit-btn {
  width: 100%;
  padding: 0.9rem;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
  transition: all 0.2s;
}

.submit-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ── FOOTER ── */
footer {
  background: #07111f;
  padding: 2rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
}

.footer-logo span {
  color: var(--gold);
}

footer p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .about-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
