/*
Theme Name: Jose Diaz LLC Theme
Theme URI: https://josediazllc.store
Author: JOSE DIAZ LLC
Author URI: https://josediazllc.store
Description: Professional corporate services theme tailored for Facebook Meta Business Manager verification. Built for JOSE DIAZ LLC, a registered U.S. business consulting and corporate solutions firm.
Version: 1.0.0
Requires at least: 5.5
Tested up to: 6.6
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: josediazllc
Tags: business, corporate, consulting, one-column, two-columns, custom-menu, featured-images, translation-ready
*/

/* ---------- Design tokens ---------- */
:root {
  --jd-navy: #0d2340;
  --jd-navy-dark: #081729;
  --jd-accent: #c8a45c;
  --jd-accent-dark: #a9873f;
  --jd-text: #1d2733;
  --jd-muted: #5b6878;
  --jd-line: #e2e8ef;
  --jd-bg: #ffffff;
  --jd-bg-alt: #f5f7fa;
  --jd-radius: 6px;
  --jd-shadow: 0 6px 24px rgba(13, 35, 64, 0.08);
  --jd-max: 1180px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--jd-bg);
  color: var(--jd-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jd-navy); text-decoration: none; }
a:hover, a:focus { color: var(--jd-accent-dark); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--jd-navy); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 2.35rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
blockquote {
  margin: 1.5em 0; padding: 1em 1.4em;
  border-left: 4px solid var(--jd-accent);
  background: var(--jd-bg-alt); color: var(--jd-muted);
}
table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid var(--jd-line); padding: .6em .8em; text-align: left; }

.jd-container { width: 100%; max-width: var(--jd-max); margin: 0 auto; padding: 0 20px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  position: static; width: auto; height: auto; clip: auto;
  display: inline-block; padding: 10px 16px; background: var(--jd-accent); color: #fff;
}

/* ---------- Buttons ---------- */
.jd-btn {
  display: inline-block; padding: 13px 26px; border: 0; cursor: pointer;
  border-radius: var(--jd-radius); font-weight: 600; font-size: 1rem;
  background: var(--jd-accent); color: #fff; transition: background .2s ease, transform .2s ease;
}
.jd-btn:hover, .jd-btn:focus { background: var(--jd-accent-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.jd-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.jd-btn--ghost:hover { background: rgba(255,255,255,.12); }
.jd-btn--navy { background: var(--jd-navy); }
.jd-btn--navy:hover { background: var(--jd-navy-dark); }

/* ---------- Top bar ---------- */
.jd-topbar {
  background: var(--jd-navy-dark); color: #dbe4f0;
  font-size: .86rem; padding: 9px 0;
}
.jd-topbar a { color: #dbe4f0; }
.jd-topbar a:hover { color: var(--jd-accent); text-decoration: none; }
.jd-topbar__inner { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
.jd-topbar__contact { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.jd-topbar__badge { color: var(--jd-accent); letter-spacing: .04em; text-transform: uppercase; font-size: .76rem; }

/* ---------- Header ---------- */
.jd-header { background: #fff; border-bottom: 1px solid var(--jd-line); position: relative; }
.jd-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; }
.jd-brand { display: flex; align-items: center; gap: 12px; }
.jd-brand__mark {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 8px;
  background: var(--jd-navy); color: #fff; font-weight: 700; letter-spacing: .04em;
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.jd-brand__name { font-size: 1.2rem; font-weight: 700; color: var(--jd-navy); line-height: 1.2; }
.jd-brand__tag { font-size: .78rem; color: var(--jd-muted); text-transform: uppercase; letter-spacing: .08em; }
.jd-brand a { text-decoration: none; }

.jd-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.jd-nav a { display: block; padding: 10px 14px; border-radius: var(--jd-radius); font-weight: 600; font-size: .95rem; }
.jd-nav a:hover, .jd-nav .current-menu-item > a { background: var(--jd-bg-alt); color: var(--jd-navy); text-decoration: none; }
.jd-nav ul ul { display: none; position: absolute; background: #fff; box-shadow: var(--jd-shadow); padding: 8px; border-radius: var(--jd-radius); min-width: 200px; z-index: 40; flex-direction: column; }
.jd-nav li { position: relative; }
.jd-nav li:hover > ul, .jd-nav li:focus-within > ul { display: flex; }

.jd-menu-toggle {
  display: none; background: var(--jd-navy); color: #fff; border: 0;
  padding: 11px 15px; border-radius: var(--jd-radius); font-size: .95rem; cursor: pointer;
}

/* ---------- Hero ---------- */
.jd-hero {
  background: linear-gradient(135deg, var(--jd-navy) 0%, #14395f 55%, var(--jd-navy-dark) 100%);
  color: #fff; padding: 86px 0;
}
.jd-hero h1 { color: #fff; font-size: 2.8rem; max-width: 20ch; }
.jd-hero__eyebrow { color: var(--jd-accent); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; margin-bottom: 14px; }
.jd-hero p { color: #d7e1ee; max-width: 62ch; font-size: 1.08rem; }
.jd-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.jd-hero__facts { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); }
.jd-hero__fact strong { display: block; font-size: 1.5rem; color: var(--jd-accent); }
.jd-hero__fact span { font-size: .86rem; color: #c3d0e0; }

/* ---------- Sections ---------- */
.jd-section { padding: 74px 0; }
.jd-section--alt { background: var(--jd-bg-alt); }
.jd-section__head { max-width: 760px; margin-bottom: 40px; }
.jd-section__eyebrow { color: var(--jd-accent-dark); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; margin-bottom: 10px; }
.jd-lead { color: var(--jd-muted); font-size: 1.05rem; }

.jd-grid { display: grid; gap: 24px; }
.jd-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jd-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jd-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.jd-card {
  background: #fff; border: 1px solid var(--jd-line); border-radius: var(--jd-radius);
  padding: 28px; transition: box-shadow .2s ease, transform .2s ease;
}
.jd-card:hover { box-shadow: var(--jd-shadow); transform: translateY(-3px); }
.jd-card h3 { margin-bottom: .45em; }
.jd-card p { color: var(--jd-muted); margin: 0; font-size: .97rem; }
.jd-card__icon {
  width: 42px; height: 42px; border-radius: 8px; margin-bottom: 16px;
  background: rgba(200,164,92,.15); color: var(--jd-accent-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

.jd-about__facts { list-style: none; padding: 0; margin: 22px 0 0; }
.jd-about__facts li { padding: 10px 0; border-bottom: 1px dashed var(--jd-line); font-size: .96rem; }
.jd-about__facts strong { color: var(--jd-navy); }

/* ---------- Contact ---------- */
.jd-contact { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; align-items: start; }
.jd-contact__details { list-style: none; padding: 0; margin: 0; }
.jd-contact__details li { padding: 12px 0; border-bottom: 1px solid var(--jd-line); }
.jd-contact__details span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: var(--jd-muted); }

.jd-form { background: #fff; border: 1px solid var(--jd-line); border-radius: var(--jd-radius); padding: 28px; box-shadow: var(--jd-shadow); }
.jd-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.jd-form p { margin-bottom: 16px; }
.jd-form input[type="text"],
.jd-form input[type="email"],
.jd-form input[type="tel"],
.jd-form select,
.jd-form textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .97rem;
  border: 1px solid var(--jd-line); border-radius: var(--jd-radius); background: #fff; color: var(--jd-text);
}
.jd-form input:focus, .jd-form select:focus, .jd-form textarea:focus {
  outline: 2px solid var(--jd-accent); outline-offset: 1px; border-color: var(--jd-accent);
}
.jd-form textarea { min-height: 140px; resize: vertical; }
.jd-form__note { font-size: .82rem; color: var(--jd-muted); }

/* ---------- Content / posts ---------- */
.jd-page-header { background: var(--jd-bg-alt); border-bottom: 1px solid var(--jd-line); padding: 52px 0; }
.jd-page-header h1 { margin: 0; }
.jd-page-header p { margin: .5em 0 0; color: var(--jd-muted); }
.jd-content { max-width: 820px; margin: 0 auto; }
.jd-content--wide { max-width: var(--jd-max); }
.jd-entry { padding: 56px 0; }
.jd-entry__meta { color: var(--jd-muted); font-size: .88rem; margin-bottom: 18px; }
.jd-entry__thumb { margin-bottom: 26px; border-radius: var(--jd-radius); overflow: hidden; }
.jd-legal h2 { margin-top: 1.8em; font-size: 1.35rem; }
.jd-legal h3 { margin-top: 1.4em; font-size: 1.08rem; }
.jd-legal__updated { color: var(--jd-muted); font-size: .9rem; }

.jd-archive-list { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.jd-archive-item { background: #fff; border: 1px solid var(--jd-line); border-radius: var(--jd-radius); padding: 24px; }
.jd-archive-item h2 { font-size: 1.22rem; }
.jd-pagination { margin-top: 36px; display: flex; gap: 8px; flex-wrap: wrap; }
.jd-pagination .page-numbers {
  display: inline-block; padding: 9px 14px; border: 1px solid var(--jd-line);
  border-radius: var(--jd-radius); font-weight: 600;
}
.jd-pagination .page-numbers.current { background: var(--jd-navy); color: #fff; border-color: var(--jd-navy); }

.jd-comments { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--jd-line); }

/* ---------- Footer ---------- */
.jd-footer { background: var(--jd-navy-dark); color: #c7d3e2; padding: 62px 0 0; font-size: .95rem; }
.jd-footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.jd-footer a { color: #c7d3e2; }
.jd-footer a:hover { color: var(--jd-accent); }
.jd-footer__grid { display: grid; gap: 34px; grid-template-columns: 1.4fr 1fr 1fr; }
.jd-footer__list { list-style: none; padding: 0; margin: 0; }
.jd-footer__list li { padding: 5px 0; }
.jd-footer__verify {
  margin-top: 22px; padding: 18px 20px; border-radius: var(--jd-radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.jd-footer__verify strong { color: #fff; display: block; }
.jd-footer__verify span { display: block; }
.jd-footer__bottom {
  margin-top: 46px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: .86rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .jd-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jd-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.55rem; }
  .jd-hero { padding: 62px 0; }
  .jd-hero h1 { font-size: 2.1rem; max-width: none; }
  .jd-section { padding: 52px 0; }
  .jd-grid--2, .jd-grid--3, .jd-grid--4,
  .jd-contact, .jd-archive-list, .jd-footer__grid { grid-template-columns: 1fr; }

  .jd-menu-toggle { display: block; }
  .jd-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--jd-line); box-shadow: var(--jd-shadow);
    padding: 12px 20px 18px; z-index: 50;
  }
  .jd-nav.is-open { display: block; }
  .jd-nav ul { flex-direction: column; gap: 2px; }
  .jd-nav ul ul { display: flex; position: static; box-shadow: none; padding-left: 14px; }
  .jd-topbar__inner { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .jd-hero__facts { gap: 18px; }
  .jd-btn { width: 100%; text-align: center; }
  .jd-hero__actions { flex-direction: column; }
}
