/* ===========================================================
   Praneeth Soft Solutions (PSS) — Corporate Site Stylesheet
   =========================================================== */

:root {
  /* Color tokens */
  --navy-950: #0E1B2C;
  --navy-900: #14233B;
  --navy-800: #1D3A5F;
  --navy-700: #2A4E7A;
  --gold-600: #B87F22;
  --gold-500: #D69A3D;
  --gold-300: #EBC784;
  --teal-700: #1A5A50;
  --teal-600: #1F6F63;
  --teal-100: #E1EEEA;
  --bg: #FAF9F6;
  --bg-alt: #F1EFE7;
  --bg-card: #FFFFFF;
  --border: #E3E0D6;
  --text: #1C2530;
  --text-soft: #4B5563;
  --text-faint: #7C8592;
  --white: #FFFFFF;

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max-w: 1180px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 44, 0.06);
  --shadow-md: 0 8px 24px rgba(14, 27, 44, 0.10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

p { color: var(--text-soft); max-width: 62ch; }
.lede { font-size: 1.15rem; color: var(--text-soft); max-width: 46ch; }

:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 3px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}
.section--tight { padding: 64px 0; }
.section--navy { background: var(--navy-900); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.72); }
.section--alt { background: var(--bg-alt); }

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-600);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.section--navy .kicker { color: var(--gold-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
}
.btn-primary:hover { background: var(--gold-600); color: var(--white); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-900);
}
.btn-outline-dark:hover { background: var(--navy-900); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--navy-900);
  color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-900);
  line-height: 1.15;
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--text-faint);
  letter-spacing: 0.03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--navy-900);
  border-bottom-color: var(--gold-500);
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-call {
  display: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 920px) {
  .nav-links {
    position: fixed;
    top: 69px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .nav-actions .btn-primary.nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-700);
  margin-bottom: 16px;
}
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 8px; }
.hero-art { position: relative; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--navy-900);
  font-weight: 600;
}
.hero-stat .label {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 2px;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 340px; margin: 0 auto; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
  background: var(--bg-alt);
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 0.85rem;
  color: var(--text-faint);
  font-weight: 600;
  flex-shrink: 0;
}
.trust-names {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.trust-names span {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--navy-800);
  font-weight: 500;
  white-space: nowrap;
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  border-color: var(--gold-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 9px;
  background: var(--teal-100);
  color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; font-size: 1.12rem; }
.card p { font-size: 0.94rem; margin: 0; }
.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--navy-900);
  margin-top: 26px;
  font-size: 0.96rem;
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 2px;
}

/* ---------- Industry list ---------- */
.industry-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.industry-row:first-child { padding-top: 0; }
.industry-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-500);
  font-weight: 600;
  min-width: 46px;
}
.industry-row h3 { margin-bottom: 6px; }
.industry-row p { margin: 0; }

/* ---------- Clients ---------- */
.client-sector {
  margin-bottom: 52px;
}
.client-sector:last-child { margin-bottom: 0; }
.client-sector-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--navy-900);
  padding-bottom: 12px;
}
.client-sector-head h2 { font-size: 1.4rem; margin: 0; }
.client-sector-count { font-size: 0.85rem; color: var(--text-faint); font-weight: 600; white-space: nowrap; }
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
.client-chip {
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy-900);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.client-chip:hover { border-color: var(--gold-500); background: var(--bg-alt); }

/* ---------- Approach / About ---------- */
.approach-list { margin-top: 8px; }
.approach-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.approach-item:last-child { border-bottom: 1px solid var(--border); }
.approach-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.approach-item p { margin: 0; font-size: 0.95rem; }
.approach-mark {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-500);
  margin-top: 9px;
  flex-shrink: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy-900);
  border-radius: var(--radius-md);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,0.72); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  background: var(--bg-card);
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-card .card-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card a, .contact-card p { font-size: 0.95rem; margin: 0; }
.contact-card a { color: var(--navy-800); font-weight: 600; }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 7px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font-size: 0.95rem;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--gold-500);
  outline: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--text-faint); margin-top: 10px; }

/* ---------- Map / office note ---------- */
.office-note {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 20px 22px;
  background: var(--teal-100);
  margin-top: 22px;
}
.office-note h3 { font-size: 0.98rem; margin-bottom: 4px; color: var(--teal-700); }
.office-note p { margin: 0; font-size: 0.9rem; color: var(--teal-700); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.65);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-top: 14px; max-width: 30ch; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.62);
  margin-bottom: 11px;
}
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.page-hero .breadcrumb a { color: var(--teal-700); font-weight: 600; }
.page-hero h1 { margin-bottom: 12px; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--navy-900);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* Reveal-on-load hero animation (single orchestrated moment) */
.reveal > * {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-up 0.7s cubic-bezier(.2,.7,.3,1) forwards;
}
.reveal > *:nth-child(1) { animation-delay: 0.05s; }
.reveal > *:nth-child(2) { animation-delay: 0.14s; }
.reveal > *:nth-child(3) { animation-delay: 0.23s; }
.reveal > *:nth-child(4) { animation-delay: 0.32s; }
@keyframes reveal-up {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal > * { opacity: 1; transform: none; animation: none; }
}
