/* ============================================================
   PCS Corp — Static Site Stylesheet
   Fonts: Shrikhand (display) + Bitter (body)
   Palette: Dark navy/charcoal + warm white + accent gold/rust
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,400;0,600;0,700;1,400&family=Shrikhand&display=swap');

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

:root {
  --black:       #0e0e0e;
  --dark:        #1a1a1a;
  --charcoal:    #272727;
  --mid:         #3e3e3e;
  --muted:       #6b6b6b;
  --border:      #d8d8d8;
  --light:       #f6f6f6;
  --white:       #ffffff;
  --accent:      #c0392b;      /* rust/red from original logo */
  --accent-dark: #962d22;
  --gold:        #b8860b;
  --font-display: 'Shrikhand', serif;
  --font-body:   'Bitter', Georgia, serif;
  --max-width:   1200px;
  --nav-height:  70px;
  --radius:      3px;
  --shadow:      0 2px 12px rgba(0,0,0,.12);
  --shadow-lg:   0 6px 32px rgba(0,0,0,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

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

/* ── Navigation ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--dark);
  letter-spacing: .01em;
  line-height: 1.1;
}

.nav-logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color .2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--dark); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links .nav-cta {
  background: var(--dark);
  color: var(--white);
  padding: 9px 22px;
  border-radius: var(--radius);
  letter-spacing: .1em;
  transition: background .2s, color .2s;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--accent); color: var(--white); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: .45;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  max-width: 520px;
  margin-bottom: 36px;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
  margin-left: 14px;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover { background: var(--accent); border-color: var(--accent); }

/* ── Section Base ─────────────────────────────────────────── */
section { padding: 90px 0; }

.section-header {
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--muted); max-width: 600px; font-size: 1.05rem; }

.bg-light { background: var(--light); }
.bg-dark  { background: var(--dark); }
.text-center { text-align: center; }
.text-center .section-header p { margin-left: auto; margin-right: auto; }

/* ── Services Cards ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card-body { padding: 28px 28px 32px; }
.service-card-body h3 { margin-bottom: 10px; }
.service-card-body p  { color: var(--muted); font-size: .95rem; }

/* ── Why Trust Us ─────────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.trust-item { text-align: center; }

.trust-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg { width: 26px; height: 26px; fill: var(--white); }
.trust-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.trust-item p  { font-size: .92rem; color: var(--muted); }

/* ── About Snippet ────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-split img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  padding: 80px 0;
  background: var(--dark);
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,.7); margin-bottom: 32px; font-size: 1.05rem; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,.65);
  padding: 60px 0 30px;
}

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

.footer-brand h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .9rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }

.footer-contact li { font-size: .9rem; margin-bottom: 10px; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}

.footer-licenses {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  text-align: right;
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--dark);
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
}

.page-hero-eyebrow {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.75); max-width: 600px; margin-top: 14px; font-size: 1.05rem; }

/* ── About Page ───────────────────────────────────────────── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-intro img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 90px;
}

.certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.cert-item {
  background: var(--light);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.cert-item strong { display: block; font-size: .88rem; color: var(--dark); }
.cert-item span   { font-size: .8rem; color: var(--muted); }

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.approach-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.approach-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.approach-card p  { font-size: .93rem; color: var(--muted); }

/* ── Services Page ────────────────────────────────────────── */
.service-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.service-full:last-child { border-bottom: none; }
.service-full.reverse { direction: rtl; }
.service-full.reverse > * { direction: ltr; }

.service-full img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-full-content h2 { margin-bottom: 16px; }
.service-full-content p  { color: var(--muted); margin-bottom: 14px; }

.service-bullets { margin: 20px 0 0; }
.service-bullets li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: .95rem;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
}
.service-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Contact Page ─────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 20px; }
.contact-info p  { color: var(--muted); margin-bottom: 32px; }

.contact-detail {
  margin-bottom: 28px;
}
.contact-detail strong {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.contact-detail a, .contact-detail span {
  font-size: 1.05rem;
  color: var(--charcoal);
}
.contact-detail a:hover { color: var(--accent); }

.contact-form-card {
  background: var(--light);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form-card h3 { margin-bottom: 28px; }

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}

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

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

.form-submit { width: 100%; justify-content: center; padding: 15px; margin-top: 8px; font-size: .82rem; }

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: #f0fff4;
  border: 1px solid #c6f6d5;
  border-radius: var(--radius);
  color: #276749;
  margin-top: 16px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-split,
  .about-intro,
  .contact-layout,
  .service-full,
  .service-full.reverse { grid-template-columns: 1fr; direction: ltr; }

  .about-split img,
  .service-full img { height: 300px; position: static; }

  .about-intro img { height: 320px; position: static; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner .footer-brand { grid-column: 1 / -1; }

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

@media (max-width: 768px) {
  section { padding: 64px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    align-items: flex-start;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--light); }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta { margin-top: 12px; width: 100%; text-align: center; border-bottom: none; }

  .nav-toggle { display: flex; }

  .hero { min-height: 75vh; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-licenses { text-align: center; }
}
