/* ═══════════════════════════════════════════════════════════
   PAGES.CSS — Consistent design extension for About & Contact
   Uses IDENTICAL tokens, patterns, and spacing as style.css
   (home page). No overrides — only additions.
═══════════════════════════════════════════════════════════ */

/* ════════════════════════════════════
   PAGE HERO — same grid + orb style as home hero
   ════════════════════════════════════ */
.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 120px 0 96px;
  position: relative;
  overflow: hidden;
}
.page-hero-sm { padding: 96px 0 72px; }

/* Identical background grid to home hero */
.ph-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .4; pointer-events: none;
}

/* Identical orbs to home hero */
.ph-orbs { position: absolute; inset: 0; pointer-events: none; }
.ph-orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .25;
}
.ph-orb-1 { width: 440px; height: 440px; background: var(--lime); top: -80px; right: -60px; animation: float1 14s ease-in-out infinite; }
.ph-orb-2 { width: 300px; height: 300px; background: var(--green-700); bottom: -40px; left: -60px; animation: float2 18s ease-in-out infinite; }

.ph-content { position: relative; z-index: 1; max-width: 780px; }

/* Breadcrumb — same weight/size as eyebrow */
.ph-breadcrumb {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 600; color: var(--text-muted);
  margin-bottom: 24px;
}
.ph-breadcrumb a { color: var(--text-muted); transition: color var(--t); }
.ph-breadcrumb a:hover { color: var(--green-700); }
.ph-breadcrumb [data-lucide] { width: 12px; height: 12px; color: var(--text-dim); }
.ph-breadcrumb > span { color: var(--text-dim); }

/* Hero H1 — same as home */
.page-hero h1 { margin-bottom: 20px; }
.page-hero p {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 600px; line-height: 1.7; margin-bottom: 0;
}

/* Hero stats — identical style to .hstat / .hstat-divider */
.ph-stats {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 20px; margin-top: 52px;
}
.ph-stat strong {
  font-size: 2rem; font-weight: 900; color: var(--text);
  letter-spacing: -.04em; display: block;
}
.ph-stat span {
  font-size: .75rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .08em;
}
.ph-stat-div { width: 1px; height: 48px; background: var(--border); }

/* ════════════════════════════════════
   OUR STORY SECTION
   ════════════════════════════════════ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}

/* Visual block — same gradient as .av-img-block */
.sv-block {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  border-radius: var(--r-xl);
  padding: 56px 40px; text-align: center;
  color: white; aspect-ratio: 3 / 4;
  display: flex; flex-direction: column;
  justify-content: flex-end; gap: 8px; position: relative; overflow: hidden;
}
.sv-block::before {
  content: 'PD'; font-size: 9rem; font-weight: 900;
  color: rgba(158,221,6,.06); position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-60%);
  letter-spacing: -.04em; pointer-events: none;
}
.sv-year {
  font-size: 5rem; font-weight: 900; color: var(--lime);
  letter-spacing: -.06em; line-height: 1;
  font-family: var(--font-serif); position: relative;
}
.sv-label { font-size: .84rem; color: rgba(255,255,255,.6); font-weight: 600; position: relative; }

/* Floating card — same as .av-card */
.sv-card {
  position: absolute; top: 24px; right: -20px;
  background: var(--white); border-radius: var(--r);
  box-shadow: var(--card-shadow-hover); padding: 14px 16px;
  display: flex; align-items: center; gap: 10px; min-width: 200px;
}
.sv-card [data-lucide] { width: 20px; height: 20px; color: var(--green-600); flex-shrink: 0; }
.sv-card strong { font-size: .86rem; display: block; color: var(--text); }
.sv-card span { font-size: .72rem; color: var(--text-muted); }

/* Story copy helpers */
.mt-16 { margin-top: 16px; }
.text-muted { color: var(--text-muted); font-size: .96rem; line-height: 1.7; }

/* Milestones — vertical timeline using same border color */
.story-milestones {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 32px; border-left: 2px solid var(--border);
  padding-left: 24px;
}
.sm-item { display: flex; align-items: flex-start; gap: 12px; position: relative; }
.sm-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border); flex-shrink: 0; margin-top: 5px;
  position: absolute; left: -29px;
  border: 2px solid var(--white);
}
.sm-item.active .sm-dot { background: var(--lime); border-color: var(--lime-soft); }
.sm-item div { font-size: .86rem; color: var(--text-muted); line-height: 1.55; }
.sm-item strong { color: var(--text); font-weight: 700; }

/* ════════════════════════════════════
   VALUES — same card style as .svc-card
   ════════════════════════════════════ */
.values-section { background: var(--off-white); }

.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.val-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: all var(--t-slow);
}
.val-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-4px); }

/* Icon block — same as .sc-icon */
.vc-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--lime-alpha);
  display: flex; align-items: center; justify-content: center;
}
.vc-icon [data-lucide] { width: 20px; height: 20px; color: var(--green-700); }

.val-card h4 { font-size: 1rem; }
.val-card p { font-size: .87rem; color: var(--text-muted); line-height: 1.65; }

/* ════════════════════════════════════
   LEADERSHIP TEAM — expanded card style
   ════════════════════════════════════ */
.team-grid-full { display: flex; flex-direction: column; gap: 24px; }

.tcard-full {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px;
  display: grid; grid-template-columns: 96px 1fr; gap: 32px;
  align-items: start; transition: all var(--t-slow);
}
.tcard-full:hover { box-shadow: var(--card-shadow-hover); }

/* Avatars — same gradient palette as .tc-avatar */
.tcf-avatar {
  width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; color: var(--white);
  letter-spacing: .02em;
}
.tcf-av-1 { background: linear-gradient(135deg, #0C2D14, #2E8B43); }
.tcf-av-2 { background: linear-gradient(135deg, #1A5226, #9EDD06); color: var(--green-950); }
.tcf-av-3 { background: linear-gradient(135deg, #216A30, #C5F24D); color: var(--green-950); }
.tcf-av-4 { background: linear-gradient(135deg, #133D1C, #2E8B43); }

.tcf-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 14px;
}
.tcf-info h3 { font-size: 1.3rem; margin-bottom: 4px; }
.tcf-role { font-size: .78rem; color: var(--text-muted); font-weight: 600; }

/* Social links — same as .tc-social */
.tcf-social { display: flex; gap: 8px; }
.tcf-social a {
  width: 32px; height: 32px; border: 1px solid var(--border);
  border-radius: 7px; display: flex; align-items: center;
  justify-content: center; color: var(--text-muted);
  transition: all var(--t);
}
.tcf-social a:hover { background: var(--lime-alpha); border-color: var(--green-500); color: var(--green-700); }
.tcf-social a [data-lucide] { width: 13px; height: 13px; }

.tcf-info p { font-size: .88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }

/* Tags — same as .wc-tags span */
.tcf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tcf-tags span {
  font-size: .72rem; font-weight: 600;
  background: var(--lime-alpha); border: 1px solid rgba(158,221,6,.25);
  color: var(--green-700); padding: 4px 10px; border-radius: 100px;
}

/* ════════════════════════════════════
   CERTIFICATIONS — same as .svc-card
   ════════════════════════════════════ */
.certs-section { background: var(--off-white); }

.certs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.cert-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 30px; text-align: center;
  transition: all var(--t-slow);
}
.cert-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-4px); }

/* Icon — same dark green block as .metrics-banner feel */
.certc-icon {
  width: 52px; height: 52px; background: var(--green-900);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px;
}
.certc-icon [data-lucide] { width: 22px; height: 22px; color: var(--lime); }
.cert-card h4 { font-size: .95rem; margin-bottom: 8px; }
.cert-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.65; }

/* ════════════════════════════════════
   CTA BANNER — same as .newsletter-section style
   ════════════════════════════════════ */
.cta-banner { background: var(--green-900); padding: 80px 0; }
.cta-inner {
  display: flex; justify-content: space-between;
  align-items: center; gap: 40px; flex-wrap: wrap;
}
.cta-inner h2 { color: var(--white); margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,.65); font-size: .95rem; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }
.cta-btns .btn-ghost {
  color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.2);
}
.cta-btns .btn-ghost:hover {
  color: var(--white); border-color: var(--lime);
  background: rgba(158,221,6,.1);
}

/* ════════════════════════════════════
   ACTIVE NAV LINK
   ════════════════════════════════════ */
.nl.active { background: var(--lime-alpha); color: var(--green-700) !important; }

/* ════════════════════════════════════
   CONTACT PAGE — METHOD CARDS
   Same surface / border / hover as service cards
   ════════════════════════════════════ */
.contact-methods-section {
  background: var(--off-white);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.contact-methods-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.cm-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: all var(--t-slow); text-decoration: none; cursor: pointer;
}
.cm-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-4px); border-color: var(--border-2); }

/* Same as .sc-icon */
.cm-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--lime-alpha);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.cm-icon [data-lucide] { width: 20px; height: 20px; color: var(--green-700); }
.cm-card h4 { font-size: .95rem; color: var(--text); }
.cm-card p { font-size: .84rem; color: var(--text-2); font-weight: 600; }
.cm-note { font-size: .74rem; color: var(--text-dim); }

/* ════════════════════════════════════
   CONTACT FULL FORM LAYOUT
   ════════════════════════════════════ */
.contact-full-layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
.cfl-left h2 { margin-bottom: 16px; }

/* Steps — same numbered style as process section */
.cfl-what { margin-top: 36px; }
.cfl-what h5 { color: var(--text-dim); margin-bottom: 20px; }
.cfw-step { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.cfw-num {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--green-900); color: var(--lime);
  font-size: .72rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; letter-spacing: .04em;
}
.cfw-step strong { font-size: .88rem; color: var(--text); display: block; margin-bottom: 2px; }
.cfw-step span { font-size: .8rem; color: var(--text-muted); line-height: 1.5; }

/* Trust badges — same as .cert-badge */
.cfl-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.ct-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 700; padding: 8px 14px;
  background: var(--off-white); border: 1px solid var(--border-2);
  border-radius: 100px; color: var(--text-2);
}
.ct-badge [data-lucide] { width: 12px; height: 12px; color: var(--green-600); }

/* Form card — same as .est-controls / .contact-form-wrap */
.full-form-wrap {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 44px;
  box-shadow: var(--card-shadow);
}
.full-form { display: flex; flex-direction: column; gap: 18px; }

/* Section dividers inside form */
.ff-section-label {
  font-size: .7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; color: var(--text-dim);
  border-bottom: 1px solid var(--border); padding-bottom: 10px;
}
.ff-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ff-divider { height: 1px; background: var(--border); margin: 4px 0; }
.req { color: #C53030; }

/* Checkboxes */
.ff-checks { display: flex; flex-direction: column; gap: 12px; }
.ff-check-row {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  font-size: .83rem; color: var(--text-muted); line-height: 1.55;
}
.ff-check-row input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0;
  margin-top: 2px; accent-color: var(--lime); cursor: pointer;
}
.ff-check-row a { color: var(--green-700); text-decoration: underline; }

/* ════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════ */
.faq-section { background: var(--off-white); }
.faq-grid {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 820px; margin: 0 auto;
}
.faq-item {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; transition: border-color var(--t);
}
.faq-item.open { border-color: rgba(158,221,6,.4); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
  padding: 20px 24px; text-align: left;
  font-size: .92rem; font-weight: 700; color: var(--text);
  transition: background var(--t); cursor: pointer;
}
.faq-q:hover { background: var(--surface); }
.faq-item.open .faq-q { background: var(--lime-alpha); }
.faq-q [data-lucide] {
  width: 16px; height: 16px; color: var(--text-muted);
  flex-shrink: 0; transition: transform var(--t);
}
.faq-item.open .faq-q [data-lucide] { transform: rotate(45deg); color: var(--green-700); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s ease; }
.faq-item.open .faq-a { max-height: 220px; }
.faq-a p {
  padding: 0 24px 22px;
  font-size: .88rem; color: var(--text-muted); line-height: 1.7;
}

/* ════════════════════════════════════
   OFFICE / MAP SECTION
   ════════════════════════════════════ */
.office-section { padding: 80px 0; background: var(--white); }
.office-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 60px; align-items: center;
}
.office-details { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.od-item { display: flex; align-items: flex-start; gap: 10px; }
.od-item [data-lucide] { width: 16px; height: 16px; color: var(--green-600); margin-top: 2px; flex-shrink: 0; }
.od-item span { font-size: .88rem; color: var(--text-muted); }

/* Map placeholder — same grid-bg pattern as hero */
.office-map-placeholder {
  border-radius: var(--r-xl); aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  background: var(--off-white); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.office-map-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .6;
}
.omp-inner {
  position: relative; z-index: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.omp-inner [data-lucide] { width: 36px; height: 36px; color: var(--lime); }
.omp-inner strong { font-size: 1rem; color: var(--text); }
.omp-inner span { font-size: .84rem; color: var(--text-muted); }

/* ════════════════════════════════════
   FORM SUCCESS — same as index.html version
   ════════════════════════════════════ */
.form-success {
  text-align: center; padding: 60px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.form-success .fs-icon {
  width: 72px; height: 72px; background: var(--lime-alpha);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.form-success .fs-icon [data-lucide] { width: 32px; height: 32px; color: var(--lime); }
.form-success h3 { font-size: 1.4rem; color: var(--text); }
.form-success p { color: var(--text-muted); font-size: .9rem; max-width: 380px; line-height: 1.65; }

/* ════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════ */
@media (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-visual { display: none; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-full-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-methods-grid { grid-template-columns: repeat(2, 1fr); }
  .office-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-btns { justify-content: center; }
  .tcard-full { grid-template-columns: 80px 1fr; }
  .tcf-avatar { width: 80px; height: 80px; }
}

@media (max-width: 768px) {
  .page-hero { padding: 80px 0 56px; }
  .page-hero-sm { padding: 72px 0 48px; }
  .ph-stats { gap: 16px; }
  .ph-stat-div { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .contact-methods-grid { grid-template-columns: 1fr; }
  .tcard-full {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .tcf-avatar { width: 80px; height: 80px; margin: 0 auto; }
  .tcf-top { flex-direction: column; align-items: center; gap: 10px; }
  .tcf-tags { justify-content: center; }
  .ff-row { grid-template-columns: 1fr; }
  .full-form-wrap { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .val-card, .cert-card, .cm-card { padding: 22px; }
  .tcard-full { padding: 24px; }
}
