/*
Theme Name: Paquin Tech
Theme URI: https://paquintech.com
Author: Paquin Technology Consulting
Author URI: https://paquintech.com
Description: Professional theme for Paquin Technology Consulting. UniFi networking, Zero Trust, and government compliance consulting, built around a teal hexagon brand identity.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paquin-tech
Tags: business, consulting, professional, technology, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  --c-bg: #FFFFFF;
  --c-bg-soft: #F8FAFC;
  --c-bg-tint: #F0FDFA;
  --c-ink: #0F172A;
  --c-ink-soft: #334155;
  --c-muted: #64748B;
  --c-line: #E2E8F0;
  --c-line-strong: #CBD5E1;

  --c-brand: #0F766E;
  --c-brand-deep: #134E4A;
  --c-brand-soft: #14B8A6;
  --c-brand-light: #5EEAD4;
  --c-brand-pale: #CCFBF1;
  --c-brand-pale2: #99F6E4;
  --c-dark: #042F2E;

  --f-display: 'Sora', system-ui, -apple-system, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;

  --shadow-lg: 0 24px 60px rgba(4,47,46,0.25);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --container: 1200px;
  --container-narrow: 820px;
}

/* ==========================================================================
   2. RESET AND BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.65;
  color: var(--c-ink); background: var(--c-bg); -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--c-brand); text-decoration: none; }
a:hover { color: var(--c-brand-deep); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.15; color: var(--c-brand-deep); margin: 0 0 0.6em;
}
h1 { font-size: clamp(38px, 4.6vw, 60px); }
h2 { font-size: clamp(30px, 3.2vw, 42px); }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1.1em; }
::selection { background: var(--c-brand-pale); color: var(--c-brand-deep); }
:focus-visible { outline: 3px solid var(--c-brand-soft); outline-offset: 2px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--c-brand); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: var(--container-narrow); }
.eyebrow {
  font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--c-brand); margin: 0 0 14px;
}
.lead { font-size: 17px; line-height: 1.65; color: var(--c-ink-soft); margin: 0; }
.section { padding: 96px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--lined { border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.section__head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 44px; }
.section__head h2 { margin: 0; }

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 26px; border-radius: var(--r-sm); font-family: var(--f-display); font-weight: 600;
  font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }
.btn--primary:hover { background: var(--c-brand-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--c-brand-deep); border-color: var(--c-line-strong); }
.btn--ghost:hover { border-color: var(--c-brand); color: var(--c-brand); }
.btn--light { background: #fff; color: var(--c-brand-deep); border-color: #fff; }
.btn--light:hover { background: var(--c-brand-pale); }
.btn--sm { min-height: 44px; padding: 0 20px; }
.btn--block { width: 100%; }

/* ==========================================================================
   4. HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: 0.06em; color: var(--c-brand-deep); }
.brand__tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); font-weight: 500; }
.custom-logo { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--c-ink-soft); font-weight: 500; font-size: 15px; padding: 8px 2px; }
.nav a:hover, .nav .current-menu-item > a { color: var(--c-brand); }
.nav-toggle { display: none; background: none; border: 1px solid var(--c-line-strong); border-radius: var(--r-sm); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--c-brand-deep); }

/* ==========================================================================
   5. HERO
   ========================================================================== */
.hero { background: linear-gradient(180deg, var(--c-bg-tint) 0%, #fff 100%); border-bottom: 1px solid var(--c-line); }
.hero__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__copy h1 { margin: 0; }
.hero__sub { font-size: 19px; line-height: 1.6; color: var(--c-ink-soft); max-width: 620px; margin: 0; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
.hero__byline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13px; padding-top: 10px; }
.hero__byline span:first-child { color: var(--c-muted); font-weight: 500; }
.hero__byline span:last-child { color: var(--c-brand-deep); font-weight: 600; }
.hero__aside { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.snapshot {
  width: 100%; max-width: 460px; background: var(--c-dark); border-radius: 18px; padding: 32px;
  display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-lg);
}
.snapshot__title { display: flex; align-items: center; justify-content: space-between; font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-brand-light); }
.snapshot__rows { display: flex; flex-direction: column; }
.snapshot__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 14px; }
.snapshot__row:last-child { border-bottom: 0; }
.snapshot__row span:first-child { color: var(--c-line-strong); }
.snapshot__row span:last-child { color: #fff; font-weight: 600; text-align: right; }
.snapshot__row--ok span:last-child { color: var(--c-brand-light); }

/* ==========================================================================
   6. CREDENTIAL STRIP
   ========================================================================== */
.cred-strip { border-bottom: 1px solid var(--c-line); }
.cred-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 36px; padding: 26px 32px; }
.cred-strip__label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
.cred-strip__item { font-family: var(--f-display); font-weight: 700; font-size: 17px; color: var(--c-brand-deep); }

/* ==========================================================================
   7. SERVICES
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid--creds { gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { margin: 0; line-height: 1.3; }
.card p { margin: 0; font-size: 15px; color: var(--c-ink-soft); }
.card ul { margin: 0; padding-left: 18px; font-size: 14.5px; line-height: 1.7; color: var(--c-ink-soft); }
.icon { width: 48px; height: 48px; border-radius: 10px; background: var(--c-bg-tint); display: flex; align-items: center; justify-content: center; color: var(--c-brand); flex-shrink: 0; }
.icon--sm { width: 40px; height: 40px; }
.mini { display: flex; gap: 16px; align-items: flex-start; }
.mini__body { display: flex; flex-direction: column; gap: 4px; }
.mini__body strong { font-family: var(--f-display); font-size: 16px; color: var(--c-brand-deep); font-weight: 600; }
.mini__body span { font-size: 14px; color: var(--c-ink-soft); line-height: 1.55; }
.services__secondary { margin-top: 44px; }

/* ==========================================================================
   8. WHY
   ========================================================================== */
.why__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.why__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.why__copy h2 { margin: 0; }
.why__grid { flex: 1 1 460px; min-width: 0; }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--c-bg-tint); border-radius: var(--r-md); }
.tile strong { font-family: var(--f-display); font-size: 17px; color: var(--c-brand-deep); font-weight: 600; }
.tile span { font-size: 14.5px; color: var(--c-ink-soft); line-height: 1.55; }

/* ==========================================================================
   9. CREDENTIALS
   ========================================================================== */
.cred { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.cred small { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-brand); font-weight: 600; }
.cred strong { font-family: var(--f-display); font-size: 18px; color: var(--c-brand-deep); font-weight: 700; }
.cred span { font-size: 13.5px; color: var(--c-muted); line-height: 1.45; }
.edu { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.edu svg { flex-shrink: 0; margin-top: 2px; color: var(--c-brand); }
.edu__body { display: flex; flex-direction: column; gap: 3px; }
.edu__body strong { font-size: 15px; color: var(--c-brand-deep); }
.edu__body span { font-size: 13.5px; color: var(--c-muted); }
.credentials__edu { margin-top: 40px; }

/* ==========================================================================
   10. APPROACH (dark)
   ========================================================================== */
.approach {
  background-color: var(--c-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 2 52 16v28L28 58 4 44V16z' fill='none' stroke='%230F766E' stroke-opacity='0.35' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 64px;
}
.approach .eyebrow { color: var(--c-brand-light); }
.approach h2 { color: #fff; }
.approach .lead { color: var(--c-line-strong); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step__n { font-family: var(--f-display); font-weight: 700; font-size: 40px; color: var(--c-brand-soft); line-height: 1; }
.step h3 { font-size: 19px; color: #fff; margin: 0; }
.step p { margin: 0; font-size: 15px; color: var(--c-line-strong); }
.standards { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 48px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 16px; }
.standards__label { font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #94A3B8; font-weight: 600; padding-top: 2px; }
.standards span { font-size: 14px; color: var(--c-line-strong); }

/* ==========================================================================
   11. ABOUT
   ========================================================================== */
.about__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.about__side { flex: 0 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about__photo { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-lg); object-fit: cover; }
.about__photo--placeholder { background: var(--c-bg-tint); border: 1px dashed var(--c-brand-pale2); display: flex; align-items: center; justify-content: center; color: var(--c-brand); font-size: 14px; font-weight: 500; text-align: center; padding: 24px; }
.about__name { display: flex; flex-direction: column; gap: 4px; }
.about__name strong { font-family: var(--f-display); font-size: 20px; color: var(--c-brand-deep); }
.about__name span { font-size: 14px; color: var(--c-muted); }
.about__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about__copy h2 { margin: 0; }
.about__copy p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--c-ink-soft); }
.about__actions { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 6px; }

/* ==========================================================================
   12. CONTACT
   ========================================================================== */
.contact__inner { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact__copy h2 { margin: 0; }
.contact__lines { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.contact__line { display: flex; gap: 14px; align-items: center; font-size: 16px; color: var(--c-ink-soft); }
.contact__line a { font-weight: 500; }
.contact__form { flex: 1 1 440px; min-width: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 36px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--c-ink-soft); }
.field input, .field textarea, .field select, .wpcf7 input:not([type=submit]), .wpcf7 textarea, .wpcf7 select, .wpforms-field input, .wpforms-field textarea, .wpforms-field select {
  font-family: var(--f-body); font-size: 15px; padding: 12px 14px; border: 1px solid var(--c-line-strong);
  border-radius: var(--r-sm); background: #fff; color: var(--c-ink); width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px var(--c-brand-pale); }
.form__note { font-size: 12.5px; color: var(--c-muted); line-height: 1.5; }
.wpcf7 input[type=submit], .wpforms-submit { background: var(--c-brand); color: #fff; border: 0; min-height: 48px; padding: 0 26px; border-radius: var(--r-sm); font-family: var(--f-display); font-weight: 600; font-size: 15px; cursor: pointer; width: 100%; }

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.site-footer { background: var(--c-dark); color: #94A3B8; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 340px; }
.site-footer__brand .brand__name { color: #fff; font-size: 17px; }
.site-footer__brand p { margin: 0; font-size: 14px; line-height: 1.6; }
.site-footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col h4, .site-footer__col .widget-title { font-family: var(--f-display); font-size: 13px; font-weight: 600; color: #fff; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: #94A3B8; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; }

/* ==========================================================================
   14. INNER PAGES, BLOG, COMMENTS
   ========================================================================== */
.page-hero { background: linear-gradient(180deg, var(--c-bg-tint) 0%, #fff 100%); border-bottom: 1px solid var(--c-line); padding: 64px 0; }
.page-hero h1 { margin: 0; font-size: clamp(32px, 4vw, 48px); }
.page-hero .lead { margin-top: 12px; }
.entry-content { font-size: 17px; line-height: 1.75; color: var(--c-ink-soft); }
.entry-content h2 { font-size: 30px; margin-top: 1.6em; }
.entry-content h3 { font-size: 22px; margin-top: 1.4em; }
.entry-content img { border-radius: var(--r-md); }
.entry-content blockquote { border-left: 4px solid var(--c-brand); margin: 1.5em 0; padding: 0.5em 0 0.5em 1.2em; color: var(--c-ink); font-style: italic; }
.entry-content pre { background: var(--c-dark); color: #E2E8F0; padding: 20px; border-radius: var(--r-sm); overflow-x: auto; font-size: 14px; }
.entry-content code { background: var(--c-bg-soft); padding: 2px 6px; border-radius: 4px; font-size: 0.92em; }
.entry-content pre code { background: none; padding: 0; }
.entry-content table { border-collapse: collapse; width: 100%; margin: 1.5em 0; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--c-line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--c-bg-soft); font-weight: 600; }
.entry-meta { font-size: 14px; color: var(--c-muted); margin-bottom: 24px; }
.post-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 28px; }
.post-card h3 { margin: 0; font-size: 20px; }
.post-card p { margin: 0; font-size: 15px; color: var(--c-ink-soft); }
.post-card__meta { font-size: 13px; color: var(--c-muted); }
.post-card img { border-radius: var(--r-sm); margin-bottom: 8px; }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--c-line); border-radius: var(--r-sm); color: var(--c-ink-soft); }
.pagination .current { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }
.search-form { display: flex; gap: 8px; max-width: 480px; }
.search-form input[type=search] { flex: 1; padding: 12px 14px; border: 1px solid var(--c-line-strong); border-radius: var(--r-sm); font-family: inherit; font-size: 15px; }
.comments-area { margin-top: 56px; border-top: 1px solid var(--c-line); padding-top: 40px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.comment-meta { font-size: 14px; color: var(--c-muted); margin-bottom: 8px; }
.comment-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--c-ink-soft); margin-bottom: 6px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--c-line-strong); border-radius: var(--r-sm); font-family: inherit; font-size: 15px; margin-bottom: 14px; }
.comment-form .submit { background: var(--c-brand); color: #fff; border: 0; min-height: 48px; padding: 0 26px; border-radius: var(--r-sm); font-family: var(--f-display); font-weight: 600; cursor: pointer; }
.alignwide { max-width: var(--container); margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption, figure { max-width: 100%; margin: 1.5em 0; }
figcaption, .wp-caption-text { font-size: 14px; color: var(--c-muted); margin-top: 8px; }

/* ==========================================================================
   15. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-4, .grid--creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .grid-3:not(.grid--creds) { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--c-line); padding: 16px 32px 24px; display: none; flex-direction: column; align-items: stretch; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
  .nav .btn { margin-top: 16px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero__inner { padding-top: 56px; padding-bottom: 56px; }
  .grid-4, .grid-2, .steps { grid-template-columns: 1fr; }
  .card, .contact__form, .snapshot { padding: 24px; }
  .cred-strip__inner { gap: 10px 20px; padding: 20px 16px; }
  .site-footer__cols { gap: 32px; }
}
