/* =============================================
   PersuitCo — Main Stylesheet
   Color Palette: Navy + Crimson Red + Gold Pop + Cream
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy:       #1B3A5C;
  --navy-light: #2A5278;
  --navy-dark:  #122840;
  /* Primary accent — crimson red */
  --red:        #C0292A;
  --red-light:  #D93C3D;
  --red-pale:   #FAEAEA;
  /* Secondary pop — warm gold */
  --gold:       #C8841A;
  --gold-light: #E09D35;
  --gold-pale:  #FBF0DC;
  --warm-bg:    #FAF8F5;
  --section-alt:#F2EDE7;
  --white:      #FFFFFF;
  --text:       #2A2826;
  --text-muted: #6B6660;
  --teal:       #2A7B8C;
  --teal-light: #3A9BAF;
  --border:     #E2DAD2;
  --shadow-sm:  0 2px 8px rgba(27,58,92,0.07);
  --shadow-md:  0 4px 20px rgba(27,58,92,0.11);
  --shadow-lg:  0 8px 40px rgba(27,58,92,0.14);
  --radius:     10px;
  --radius-lg:  16px;
  --transition: 0.22s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--warm-bg);
  color: var(--text);
  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: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; font-family: 'Inter', sans-serif; }
p  { font-size: 1rem; color: var(--text-muted); line-height: 1.8; }

.serif { font-family: 'Playfair Display', serif; }

/* ---- Layout Helpers ---- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 5rem 0; }
.section-alt { background: var(--section-alt); }
.section-navy { background: var(--navy); }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-gold   { color: var(--gold); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  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(200,132,26,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,58,92,0.3);
}

/* ---- Section Labels ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label-light {
  color: rgba(224,157,53,0.95);
}

/* ---- Divider ---- */
.divider {
  width: 52px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1.2rem 0 1.8rem;
}
.divider-center { margin: 1.2rem auto 1.8rem; }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(27,58,92,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow var(--transition);
}
.nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 2rem;
  max-width: 1120px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo-img {
  height: 40px;
  width: auto;
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-links .btn-primary {
  padding: 0.5rem 1.4rem;
  font-size: 0.88rem;
  border-radius: 50px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background-color: var(--navy-dark);
  background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(18,40,64,0.95) 0%, rgba(27,58,92,0.88) 55%, rgba(42,82,120,0.72) 100%),
    radial-gradient(ellipse at 72% 50%, rgba(200,132,26,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 18% 80%, rgba(200,132,26,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,132,26,0.18);
  border: 1px solid rgba(200,132,26,0.4);
  color: #F0C060;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2.2s infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.25);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* =============================================
   STATS / TRUST BAR
   ============================================= */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  box-shadow: var(--shadow-sm);
}
.stats-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 2.5rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-align: center;
  font-weight: 500;
}

/* =============================================
   FEATURE CARDS
   ============================================= */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.feature-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}
.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =============================================
   SERVICE CARDS
   ============================================= */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.service-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.service-card h3 { font-size: 1.2rem; color: var(--navy); }
.service-card p  { font-size: 0.9rem; flex: 1; }
.service-card .tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  width: fit-content;
}

/* =============================================
   VALUE CARDS
   ============================================= */
.value-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.value-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(200,132,26,0.3);
}
.value-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.55rem;
}
.value-card h4 { color: var(--navy); margin-bottom: 0.35rem; }
.value-card p  { font-size: 0.88rem; line-height: 1.65; }

/* =============================================
   TESTIMONIAL / QUOTE
   ============================================= */
.quote-block {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 10rem;
  color: rgba(200,132,26,0.15);
  line-height: 1;
  pointer-events: none;
}
.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.quote-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
}
.quote-name  { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.quote-title { font-size: 0.8rem; color: rgba(255,255,255,0.55); }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(200,132,26,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,0.68); max-width: 520px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =============================================
   CLIENT STORY CARDS (Deloitte-inspired)
   ============================================= */
.client-story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.client-story-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: default;
}
.client-story-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}
.client-story-card:hover .client-story-bg {
  transform: scale(1.05);
}
.client-story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18,40,64,0.97) 0%,
    rgba(18,40,64,0.65) 50%,
    rgba(18,40,64,0.15) 100%
  );
}
.client-story-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
}
.client-story-tag {
  display: inline-block;
  background: rgba(200,132,26,0.2);
  border: 1px solid rgba(200,132,26,0.45);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.9rem;
}
.client-story-content h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.client-story-content p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.client-story-location {
  color: rgba(255,255,255,0.42);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.client-story-divider {
  width: 36px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* =============================================
   TESTIMONIAL GRID
   ============================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -1rem;
  left: 1.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 9rem;
  color: rgba(200,132,26,0.12);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.testimonial-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-name  { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.testimonial-org   { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 0.15rem; }

/* =============================================
   CONTACT FORM
   ============================================= */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,132,26,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 7rem 0 4rem;
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(18,40,64,0.93) 0%, rgba(27,58,92,0.82) 100%),
    radial-gradient(ellipse at 80% 50%, rgba(200,132,26,0.08) 0%, transparent 60%);
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(255,255,255,0.68); max-width: 540px; font-size: 1.1rem; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.footer-brand h3 span { color: var(--gold); }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom a { color: var(--gold-light); }

/* =============================================
   UTILITIES
   ============================================= */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--navy-dark);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .hero { min-height: 90vh; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .stats-inner { gap: 0; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); width: 50%; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

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

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

  .quote-block { padding: 2rem 1.5rem; }

  .section { padding: 3.5rem 0; }
  .page-hero { padding: 5rem 0 3rem; }

  /* Client story & testimonial cards */
  .client-story-grid { grid-template-columns: 1fr; }
  .client-story-card { min-height: 360px; }
  .client-story-content { padding: 1.75rem; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .btn { padding: 0.75rem 1.5rem; }
}
