/* ============================================================
   PRO-MIND — Fresh v2.0 Design System
   Brand: navy corporate base, gold CTA, blue/green accents
   pulled from the PRO-MIND brain/infinity mark.
   Typography: Poppins (display/headings) + Inter (body)
   ============================================================ */

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

:root {
  --navy-900: #0A1B33;
  --navy-800: #0F2647;
  --navy-700: #16336B;
  --blue: #2F6FED;
  --blue-dark: #1E4DB7;
  --green: #1FAE7A;
  --gold: #F2A83D;
  --gold-dark: #D98F1F;
  --offwhite: #F6F8FB;
  --white: #FFFFFF;
  --text-dark: #16213B;
  --text-muted: #5B6B82;
  --border: #E4E8EF;

  --display: 'Poppins', -apple-system, sans-serif;
  --body: 'Inter', -apple-system, sans-serif;

  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.9rem;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

p { color: var(--text-muted); max-width: 62ch; }
p.lede { font-size: 1.12rem; color: var(--text-muted); max-width: 50ch; }

.section-dark p, .section-dark p.lede { color: #C6D0E0; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--display); font-size: 0.92rem; font-weight: 600;
  padding: 0.95rem 1.7rem; border-radius: 6px; border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.25s ease;
}
.btn-gold { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline-light { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline { border-color: var(--navy-700); color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ===== Top bar ===== */
.topbar { background: var(--navy-900); color: #C6D0E0; font-size: 0.85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem var(--gutter); flex-wrap: wrap; gap: 0.5rem; }
.topbar-left { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar-left a { color: #C6D0E0; display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar-left a:hover { color: var(--white); }
.topbar-social { display: flex; gap: 0.9rem; }
.topbar-social a { color: #C6D0E0; }
.topbar-social a:hover { color: var(--gold); }

/* ===== Header / Nav ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 1px 0 var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem var(--gutter); max-width: var(--max); margin: 0 auto; }
.logo-link { display: flex; align-items: center; gap: 0.6rem; }
.logo-link img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 1.9rem; align-items: center; }
.nav-links a { font-family: var(--display); font-size: 0.9rem; font-weight: 500; color: var(--navy-800); position: relative; padding-bottom: 4px; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); transition: width 0.25s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--blue-dark); }
.nav-cta { background: var(--navy-800); color: var(--white) !important; padding: 0.65rem 1.3rem; border-radius: 6px; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold); color: var(--navy-900) !important; }
.nav-toggle { display: none; }

@media (max-width: 940px) {
  .nav-links { position: fixed; inset: 66px 0 0 0; background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 2rem var(--gutter); gap: 1.4rem; transform: translateY(-110%); transition: transform 0.3s ease; overflow-y: auto; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; background: none; border: none; font-family: var(--display); font-weight: 600; font-size: 0.85rem; cursor: pointer; color: var(--navy-800); }
}

/* ===== Hero ===== */
.hero { background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%); position: relative; overflow: hidden; padding: 4.5rem 0; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero-accent { color: var(--gold); }
.hero p.lede { margin-top: 1.3rem; }
.hero-visual { border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 5/4; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; }
.hero-visual svg { width: 100%; height: 100%; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-visual { order: -1; } }

/* ===== Stats band ===== */
.stats-band { background: var(--navy-800); padding: 0; margin-top: -3.2rem; position: relative; z-index: 3; }
.stats-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy-800); border-radius: 10px; box-shadow: 0 18px 40px rgba(10,27,51,0.25); overflow: hidden; }
.stat { padding: 2.2rem 1.5rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.09); }
.stat:last-child { border-right: none; }
.stat-icon { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.9rem; color: var(--gold); }
.stat-num { font-family: var(--display); font-size: 2.1rem; font-weight: 700; color: var(--white); }
.stat-label { font-family: var(--body); font-size: 0.82rem; color: #B9C4D6; margin-top: 0.3rem; }
@media (max-width: 760px) { .stats-band .wrap { grid-template-columns: repeat(2, 1fr); } .stat { border-bottom: 1px solid rgba(255,255,255,0.09); } }

/* ===== Section ===== */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--offwhite); }
.section-dark { background: var(--navy-900); }
.section-head { max-width: 60ch; margin: 0 auto 3.2rem; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }

/* Feature / why cards */
.grid-5, .grid-4, .grid-3, .grid-2 { display: grid; gap: 1.8rem; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }

.card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 2rem 1.6rem; transition: all 0.25s ease; }
.card:hover { border-color: var(--blue); box-shadow: 0 12px 30px rgba(15,38,71,0.08); transform: translateY(-3px); }
.card-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--navy-800); color: var(--white); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.card h3 { margin-bottom: 0.6rem; font-size: 1.08rem; }
.card p { font-size: 0.92rem; }
.card a.card-link { font-family: var(--display); font-size: 0.85rem; font-weight: 600; color: var(--blue-dark); margin-top: 1.1rem; display: inline-block; }
.card a.card-link:hover { color: var(--gold-dark); }

@media (max-width: 1000px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .grid-5, .grid-4, .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

/* Industry Experience */
.industry-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); padding: 4.5rem 0; }
.industry-top { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: center; }
.industry-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.industry-icon { text-align: center; }
.industry-icon .ic { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.7rem; color: var(--white); }
.industry-icon span { font-family: var(--display); font-size: 0.8rem; font-weight: 500; color: #DCE4F0; }
@media (max-width: 900px) { .industry-top { grid-template-columns: 1fr; } .industry-icons { grid-template-columns: repeat(2, 1fr); } }

/* Industry detail rows (industry-experience.html) */
.industry-row { display: grid; grid-template-columns: 90px 1fr; gap: 1.8rem; padding: 2rem 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.industry-row .ic-lg { width: 60px; height: 60px; border-radius: 12px; background: var(--navy-800); color: var(--white); display: flex; align-items: center; justify-content: center; }
.industry-row h3 { margin-bottom: 0.4rem; }
@media (max-width: 640px) { .industry-row { grid-template-columns: 1fr; } }

/* Testimonials */
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 2.1rem; }
.testimonial-card p { font-size: 1rem; color: var(--text-dark); font-style: italic; }
.testimonial-card .stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.9rem; letter-spacing: 0.15em; }
.testimonial-card cite { font-family: var(--display); font-size: 0.85rem; font-weight: 600; font-style: normal; color: var(--navy-800); display: block; margin-top: 1.1rem; }
.testimonial-card cite span { display: block; font-family: var(--body); font-weight: 400; color: var(--text-muted); font-size: 0.82rem; margin-top: 0.15rem; }

/* Founder */
.founder-hero { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: center; }
.founder-photo { aspect-ratio: 4/5; background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.35); font-family: var(--display); font-size: 0.85rem; text-align: center; padding: 2rem; }
@media (max-width: 800px) { .founder-hero { grid-template-columns: 1fr; } }
.founder-creds { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.founder-creds span { font-family: var(--display); font-size: 0.78rem; font-weight: 600; background: var(--offwhite); border: 1px solid var(--border); color: var(--navy-800); padding: 0.5rem 0.9rem; border-radius: 20px; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 0; cursor: pointer; font-family: var(--display); font-weight: 600; color: var(--navy-900); font-size: 1rem; }
.faq-q .plus { font-size: 1.3rem; color: var(--gold-dark); transition: transform 0.25s ease; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-bottom: 1.4rem; font-size: 0.95rem; }

/* Process steps */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; margin-top: 2.5rem; }
.process-step { background: var(--offwhite); border-radius: 10px; padding: 1.6rem 1.3rem; border-top: 3px solid var(--gold); }
.process-step .step-num { font-family: var(--display); font-size: 0.78rem; color: var(--blue-dark); font-weight: 700; }
.process-step h4 { font-size: 0.98rem; margin-top: 0.5rem; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* Service detail hero */
.service-hero { background: var(--offwhite); padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 2.5rem; } }
.check-list li { padding-left: 1.5rem; position: relative; margin-bottom: 0.9rem; color: var(--text-muted); }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2.8rem; } }
.contact-card { background: var(--navy-900); color: var(--white); border-radius: 12px; padding: 2.4rem; }
.contact-card .c-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-card .c-item:last-child { border-bottom: none; }
.contact-card .c-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); }
.contact-card .c-label { font-family: var(--display); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: #93A2BC; }
.contact-card .c-value { font-family: var(--display); font-size: 1rem; font-weight: 600; margin-top: 0.2rem; }
.contact-card .c-value a:hover { color: var(--gold); }

.field { margin-bottom: 1.3rem; }
.field label { display: block; font-family: var(--display); font-size: 0.8rem; font-weight: 600; color: var(--navy-800); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; border: 1.5px solid var(--border); background: var(--white);
  font-family: var(--body); font-size: 0.95rem; color: var(--text-dark); border-radius: 6px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field textarea { min-height: 120px; resize: vertical; }

/* CTA band */
.cta-band { text-align: center; padding: 5rem 0; background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); }
.cta-band h2 { color: var(--white); max-width: 22ch; margin: 0 auto; }
.cta-band p { color: #C6D0E0; margin: 1rem auto 0; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--navy-900); color: #93A2BC; padding: 3.5rem 0 1.6rem; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.09); }
.footer-brand img { height: 40px; margin-bottom: 0.9rem; }
.footer-brand p { max-width: 32ch; font-size: 0.86rem; color: #93A2BC; }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: #C6D0E0; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.footer-cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--display); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--white); margin-bottom: 1rem; font-weight: 600; }
.footer-col a, .footer-col span { display: block; font-size: 0.88rem; margin-bottom: 0.65rem; color: #93A2BC; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 1.6rem; font-size: 0.8rem; color: #6E7E99; flex-wrap: wrap; gap: 0.6rem; }

/* WhatsApp float button */
.whatsapp-float { position: fixed; bottom: 22px; right: 22px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center; z-index: 200;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4); transition: transform 0.25s ease; }
.whatsapp-float:hover { transform: scale(1.08); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px;
}
