/*
Theme Name: Cave Creek Consultants
Theme URI: https://cavecreekconsultants.com/
Author: Cave Creek Consultants
Description: A focused, responsive business website for Cave Creek Consultants.
Version: 1.0.4
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: cave-creek-consultants
*/

:root {
  --ccc-navy: #1e1a5a;
  --ccc-navy-deep: #11133f;
  --ccc-green: #007a5e;
  --ccc-teal: #14b8a4;
  --ccc-orange: #e25822;
  --ccc-orange-warm: #f97316;
  --ccc-charcoal: #2d2d2d;
  --ccc-muted: #64748b;
  --ccc-pale: #f4f7fa;
  --ccc-pale-green: #d1fae5;
  --ccc-white: #fff;
  --ccc-border: #dbe3ec;
  --ccc-shadow: 0 18px 45px rgba(17, 19, 63, .10);
  --ccc-radius: 18px;
  --ccc-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ccc-charcoal);
  background: var(--ccc-white);
  font-family: "Segoe UI", "Open Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--ccc-green); text-underline-offset: 3px; }
a:hover { color: var(--ccc-orange); }
h1, h2, h3, h4 {
  margin: 0 0 .65em;
  color: var(--ccc-navy);
  font-family: Montserrat, "Segoe UI", Arial, sans-serif;
  line-height: 1.12;
}
h1 { font-size: clamp(2.55rem, 5.6vw, 5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
p { margin: 0 0 1.2em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { width: auto; height: auto; clip: auto; margin: 12px; padding: 10px 14px; z-index: 9999; color: #fff; background: #000; }
.ccc-wrap { width: min(calc(100% - 40px), var(--ccc-max)); margin-inline: auto; }
.ccc-section { padding: clamp(70px, 9vw, 112px) 0; }
.ccc-section--soft { background: var(--ccc-pale); }
.ccc-section--green { background: linear-gradient(135deg, #e7faf5, #f7fcfb); }
.ccc-center { text-align: center; }
.ccc-lead { max-width: 760px; color: #475569; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.ccc-center .ccc-lead { margin-inline: auto; }
.ccc-eyebrow { margin-bottom: 18px; color: var(--ccc-green); font-size: .82rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ccc-kicker { color: var(--ccc-teal); }
.ccc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 9px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.ccc-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.15); }
.ccc-btn--primary { color: #fff; background: var(--ccc-orange); }
.ccc-btn--primary:hover { color: #fff; background: #c94716; }
.ccc-btn--secondary { color: #fff; border-color: rgba(255,255,255,.72); background: transparent; }
.ccc-btn--secondary:hover { color: var(--ccc-navy); background: #fff; }
.ccc-btn--nav { min-height: 42px; padding: 9px 16px; color: #fff !important; background: var(--ccc-orange); }
.ccc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.ccc-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(30,26,90,.10); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.admin-bar .ccc-header { top: 32px; }
.ccc-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.ccc-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ccc-navy); font-family: Montserrat, "Segoe UI", sans-serif; font-size: 1.05rem; font-weight: 800; text-decoration: none; }
.ccc-brand img { width: 48px; height: 48px; }
.ccc-nav ul { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.ccc-nav a { color: var(--ccc-navy); font-size: .94rem; font-weight: 700; text-decoration: none; }
.ccc-nav a:hover, .ccc-nav .current-menu-item > a { color: var(--ccc-orange); }
.ccc-mobile-nav { display: none; position: relative; }
.ccc-mobile-nav summary { cursor: pointer; color: var(--ccc-navy); font-weight: 800; list-style: none; }
.ccc-mobile-nav summary::-webkit-details-marker { display: none; }
.ccc-mobile-nav__panel { position: absolute; right: 0; top: 42px; width: min(86vw, 330px); padding: 20px; border: 1px solid var(--ccc-border); border-radius: 14px; background: #fff; box-shadow: var(--ccc-shadow); }
.ccc-mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.ccc-mobile-nav li + li { margin-top: 10px; }
.ccc-mobile-nav a { display: block; padding: 7px; color: var(--ccc-navy); font-weight: 750; text-decoration: none; }

.ccc-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(20,184,164,.25), transparent 33%), linear-gradient(135deg, var(--ccc-navy-deep), var(--ccc-navy)); }
.ccc-hero::after { content: ""; position: absolute; right: -160px; bottom: -220px; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.035), 0 0 0 110px rgba(255,255,255,.025); }
.ccc-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: clamp(42px, 7vw, 92px); align-items: center; min-height: 660px; padding: clamp(80px, 10vw, 130px) 0; }
.ccc-hero h1 { max-width: 830px; color: #fff; }
.ccc-hero .ccc-lead { color: #dce8f4; }
.ccc-proof { padding: 34px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--ccc-radius); background: rgba(255,255,255,.075); box-shadow: 0 20px 60px rgba(0,0,0,.18); backdrop-filter: blur(8px); }
.ccc-proof h3 { color: #fff; }
.ccc-proof hr { height: 2px; margin: 24px 0; border: 0; background: linear-gradient(90deg, var(--ccc-orange), var(--ccc-teal)); }
.ccc-tagline { padding: 18px 20px; color: #fff; background: var(--ccc-orange); font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 750; text-align: center; }

.ccc-grid { display: grid; gap: 24px; margin-top: 44px; }
.ccc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ccc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ccc-card { height: 100%; padding: clamp(27px, 3vw, 38px); border: 1px solid var(--ccc-border); border-radius: var(--ccc-radius); background: #fff; box-shadow: 0 10px 32px rgba(17,19,63,.06); }
.ccc-card--cream { background: #fbfaf3; }
.ccc-card__number { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 22px; border-radius: 50%; color: #fff; background: var(--ccc-green); font-size: .9rem; font-weight: 850; }
.ccc-card p:last-child { margin-bottom: 0; }
.ccc-card__link { display: inline-flex; margin-top: 10px; font-weight: 800; text-decoration: none; }
.ccc-results { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 42px; }
.ccc-result { padding: 28px 22px; border-top: 5px solid var(--ccc-teal); border-radius: 10px; background: #fff; box-shadow: 0 8px 25px rgba(17,19,63,.07); }
.ccc-result h3 { font-size: 1.12rem; }
.ccc-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(44px, 7vw, 90px); align-items: center; }
.ccc-profile { display: grid; place-items: center; min-height: 430px; padding: 50px; border-radius: 28px; color: #fff; background: linear-gradient(145deg, var(--ccc-navy), #0d665d); box-shadow: var(--ccc-shadow); text-align: center; }
.ccc-profile img { width: 160px; margin-bottom: 25px; filter: drop-shadow(0 14px 25px rgba(0,0,0,.28)); }
.ccc-profile h3 { color: #fff; }
.ccc-profile p { color: #d9f5ed; }
.ccc-cta { overflow: hidden; position: relative; padding: clamp(56px, 8vw, 90px) 28px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, var(--ccc-navy), var(--ccc-navy-deep)); text-align: center; }
.ccc-cta h2 { color: #fff; }
.ccc-cta p { max-width: 720px; margin-inline: auto; color: #dce8f4; }
.ccc-cta .ccc-actions { justify-content: center; }

.ccc-page-hero { padding: clamp(80px, 10vw, 125px) 0; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(20,184,164,.22), transparent 32%), var(--ccc-navy-deep); }
.ccc-page-hero h1 { max-width: 900px; color: #fff; }
.ccc-page-hero .ccc-lead { color: #dce8f4; }
.ccc-checklist { padding-left: 1.2em; }
.ccc-checklist li { margin-bottom: 12px; }
.ccc-contact-card { padding: 38px; border-radius: var(--ccc-radius); background: #e7faf5; }
.ccc-contact-card a { font-weight: 800; }
.ccc-contact-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr); gap: clamp(44px, 7vw, 90px); align-items: start; }
.ccc-contact-details { margin-top: 30px; }
.ccc-contact-details p { margin-bottom: .45em; }
.ccc-form-card { scroll-margin-top: 110px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--ccc-border); border-radius: var(--ccc-radius); background: #fff; box-shadow: var(--ccc-shadow); }
.ccc-form-card > p { color: var(--ccc-muted); }
.ccc-contact-form { margin-top: 28px; }
.ccc-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ccc-field { margin-bottom: 22px; }
.ccc-field label { display: block; margin-bottom: 7px; color: var(--ccc-navy); font-weight: 800; }
.ccc-optional { color: var(--ccc-muted); font-size: .8rem; font-weight: 600; }
.ccc-field input, .ccc-field select, .ccc-field textarea { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #aebdca; border-radius: 8px; color: var(--ccc-charcoal); background: #fff; font: inherit; }
.ccc-field textarea { min-height: 160px; resize: vertical; }
.ccc-field input:focus, .ccc-field select:focus, .ccc-field textarea:focus { border-color: var(--ccc-green); outline: 3px solid rgba(0,122,94,.18); outline-offset: 1px; }
.ccc-form-submit { width: 100%; cursor: pointer; font: inherit; }
.ccc-form-note { margin: 14px 0 0; color: var(--ccc-muted); font-size: .86rem; text-align: center; }
.ccc-form-message { margin: 24px 0; padding: 16px 18px; border-radius: 9px; }
.ccc-form-message--success { border-left: 5px solid var(--ccc-green); background: #e7faf5; }
.ccc-form-message--error { border-left: 5px solid #b42318; background: #fff1f0; }
.ccc-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.ccc-notice { padding: 20px 24px; border-left: 5px solid var(--ccc-orange); background: #fff8f2; }
.ccc-coming-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.ccc-coming-card { scroll-margin-top: 110px; }
.ccc-coming-card__status { display: inline-flex; margin-bottom: 18px; padding: 6px 11px; border-radius: 999px; color: var(--ccc-green); background: var(--ccc-pale-green); font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ccc-404 { min-height: 62vh; display: grid; align-items: center; }
.ccc-404__code { margin-bottom: 10px; color: var(--ccc-orange); font-family: Montserrat, "Segoe UI", sans-serif; font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; line-height: .9; }

.ccc-footer { padding: 70px 0 24px; color: #d8e2ee; background: var(--ccc-navy-deep); }
.ccc-footer h3 { color: #fff; }
.ccc-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 50px; }
.ccc-footer ul { margin: 0; padding: 0; list-style: none; }
.ccc-footer li + li { margin-top: 9px; }
.ccc-footer a { color: #d8e2ee; text-decoration: none; }
.ccc-footer a:hover { color: #fff; }
.ccc-footer__bottom { margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; }

@media (max-width: 980px) {
  .ccc-nav { display: none; }
  .ccc-mobile-nav { display: block; }
  .ccc-hero__grid, .ccc-split, .ccc-contact-layout { grid-template-columns: 1fr; }
  .ccc-hero__grid { min-height: auto; }
  .ccc-proof { max-width: 650px; }
  .ccc-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ccc-grid--3 { grid-template-columns: 1fr; }
  .ccc-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .admin-bar .ccc-header { top: 46px; }
  .ccc-wrap { width: min(calc(100% - 28px), var(--ccc-max)); }
  .ccc-brand span { max-width: 180px; line-height: 1.15; }
  .ccc-grid--2, .ccc-results, .ccc-footer__grid, .ccc-coming-grid, .ccc-form-grid { grid-template-columns: 1fr; }
  .ccc-actions { flex-direction: column; align-items: stretch; }
  .ccc-btn { width: 100%; }
  .ccc-card, .ccc-contact-card { padding: 26px 22px; }
  .ccc-profile { min-height: 340px; }
}
