/*
Theme Name:   Kadence Child
Description:  Content & Reviews Digital Marketing Agency Child Theme
Template:     kadence
Version:      2.0.0
*/

@import url("../kadence/style.css");

/* ── Google Fonts ── */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Krona+One&display=swap");

/* ── Typography reset for agency feel ── */
body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Krona One', sans-serif;
}

/* ── Remove default Kadence page top padding on full-bleed templates ── */
.entry-content > *:first-child { margin-top: 0; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE IMAGES — max 1200px, always fluid
   ════════════════════════════════════════════════════════════════ */

/* Every image on the site: fluid by default, capped at 1200px */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hard cap at 1200px for standalone/content images */
.wp-block-image img,
.entry-content img,
.cr-section img,
.cr-page-hero img,
.cr-two-col img,
.cr-service-card img,
.cr-mini-card img,
.cr-feature-highlight img,
.post-thumbnail img,
.wp-post-image,
figure img {
  max-width: min(100%, 1200px);
  height: auto;
  width: 100%;         /* fills its container up to 1200px */
}

/* Center block-level images so they don't left-align awkwardly */
.wp-block-image,
.entry-content figure,
.cr-section figure {
  max-width: min(100%, 1200px);
  margin-left: auto;
  margin-right: auto;
}

/* Kadence featured image / post thumbnail */
.post-thumbnail,
.wp-block-post-featured-image {
  max-width: min(100%, 1200px);
  margin-left: auto;
  margin-right: auto;
}

/* Prevent oversized logo — keep it reasonable */
.site-branding img.custom-logo {
  max-width: 160px;
  width: auto;
  height: auto;
}

/* ════════════════════════════════════════════════════════════════
   KADENCE HEADER — brand overrides
   The Kadence header renders via get_header() on every page.
   These CSS rules enforce the brand colors/fonts without
   touching the parent theme PHP.
   ════════════════════════════════════════════════════════════════ */

/* Header wrapper background */
#masthead,
.site-header,
.site-header-wrap,
#main-header,
.site-header-inner-wrap {
  background-color: var(--cr-dark) !important;
}

/* Mobile header background */
#mobile-header,
#mobile-header .site-header-inner-wrap {
  background-color: var(--cr-dark) !important;
}

/* ── Nav links (standard Kadence fallback) ── */
#site-navigation .menu a,
#primary-menu > li > a {
  font-family: 'Krona One', sans-serif !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--cr-white) !important;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  transition: color var(--cr-transition);
}

#site-navigation .menu a:hover,
#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a {
  color: var(--cr-orange) !important;
}

/* ── Max Mega Menu: kill the white rounded-box hover effect ── */
#site-navigation .mega-menu-link {
  font-family: 'Krona One', sans-serif !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--cr-white) !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0.5rem 0.9rem !important;
  line-height: 1.5 !important;
  transition: color var(--cr-transition) !important;
  text-decoration: none !important;
}

#site-navigation .mega-menu-link:hover,
#site-navigation .mega-menu-link:focus,
#site-navigation .mega-menu-item:hover > .mega-menu-link,
#site-navigation .mega-menu-item.mega-toggle-on > .mega-menu-link,
#site-navigation .current-menu-item > .mega-menu-link,
#site-navigation .current-menu-ancestor > .mega-menu-link {
  background-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--cr-orange) !important;
}

/* ── Max Mega Menu dropdowns ── */
#site-navigation .mega-sub-menu {
  background: var(--cr-dark) !important;
  border-top: 2px solid var(--cr-orange) !important;
}

#site-navigation .mega-sub-menu .mega-menu-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.75rem !important;
  padding: 0.4rem 1rem !important;
}

#site-navigation .mega-sub-menu .mega-menu-item:hover > .mega-menu-link {
  color: var(--cr-orange) !important;
  background: rgba(255,255,255,0.05) !important;
}

/* ── Dropdown menus (standard fallback) ── */
#primary-menu .sub-menu {
  background: var(--cr-dark) !important;
  border-top: 2px solid var(--cr-orange) !important;
}

#primary-menu .sub-menu a {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.75rem !important;
}

#primary-menu .sub-menu a:hover {
  color: var(--cr-orange) !important;
  background: rgba(255,255,255,0.05) !important;
}

/* ── Mobile hamburger toggle ── */
.menu-toggle-open,
#mobile-toggle {
  color: var(--cr-white) !important;
  background: transparent !important;
  border: none !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle-open:hover,
#mobile-toggle:hover {
  color: var(--cr-orange) !important;
}

/* Prevent double-tap on Mega Menu toggle too */
.mega-menu-toggle,
.mega-toggle-animated,
.drawer-toggle {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ── Mobile drawer ── */
.popup-drawer,
.mobile-navigation {
  background: var(--cr-dark) !important;
}

.mobile-navigation .menu a {
  color: var(--cr-white) !important;
  font-family: 'Krona One', sans-serif !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

.mobile-navigation .menu a:hover {
  color: var(--cr-orange) !important;
}

/* Orange bottom border on the header for a subtle brand accent */
#masthead {
  border-bottom: 3px solid var(--cr-orange) !important;
}

/* ════════════════════════════════════════════════════════════════
   FRONT-PAGE COMPONENT STYLES
   Content & Reviews — Des Moines SEO Agency
   Brand colors: #e47b02 (orange), #1f2933 (dark), #3e4c59 (body)
   ════════════════════════════════════════════════════════════════ */

/* ── Shared layout tokens ── */
:root {
  --cr-orange:     #e47b02;
  --cr-orange-alt: #ed8f0c;
  --cr-dark:       #1f2933;
  --cr-body:       #3e4c59;
  --cr-muted:      #52606d;
  --cr-subtle:     #7b8794;
  --cr-bg-gray:    #f3f4f7;
  --cr-bg-light:   #f9f9fb;
  --cr-white:      #ffffff;
  --cr-max-w:      1290px;
  --cr-radius:     6px;
  --cr-transition: 0.2s ease;
}

/* ── Container ── */
.cr-container {
  max-width: var(--cr-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ── Section base ── */
.cr-section {
  padding: 5rem 0;
}
.cr-section--white { background: var(--cr-white); }
.cr-section--gray  { background: var(--cr-bg-gray); }
.cr-section--dark  { background: var(--cr-dark); }

@media (max-width: 1024px) { .cr-section { padding: 3.5rem 0; } }
@media (max-width: 767px)  { .cr-section { padding: 2.5rem 0; } }

/* ── Section header (centered intro block) ── */
.cr-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.cr-section-header h2 { margin-top: 0.5rem; margin-bottom: 1rem; }
.cr-section-header p  { font-size: 1.1rem; color: var(--cr-muted); margin: 0; }

/* ── Eyebrow label ── */
.cr-eyebrow {
  display: inline-block;
  font-family: 'Krona One', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cr-orange);
  background: rgba(228, 123, 2, 0.1);
  padding: 0.35em 0.85em;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
}
.cr-eyebrow--dark { color: var(--cr-orange); background: rgba(228, 123, 2, 0.08); }

/* ════════════════════════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════════════════════════ */
.cr-hero {
  position: relative;
  background: var(--cr-dark);
  padding: 7rem 1.5rem 6rem;
  overflow: hidden;
  /* Subtle diagonal texture using gradient */
  background-image:
    linear-gradient(135deg, rgba(228,123,2,0.12) 0%, transparent 60%),
    linear-gradient(to bottom right, #1f2933 60%, #2d3f50 100%);
}

/* Decorative right-side accent bar */
.cr-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  background: var(--cr-orange);
}

/* Subtle dot-grid overlay */
.cr-hero__overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.cr-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--cr-max-w);
  margin: 0 auto;
  max-width: 800px;
}

.cr-hero .cr-eyebrow {
  color: var(--cr-orange);
  background: rgba(228,123,2,0.15);
}

.cr-hero__h1 {
  font-family: 'Krona One', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.25;
  color: var(--cr-white);
  margin: 0.5rem 0 1.25rem;
}

.cr-hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 680px;
}

.cr-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 767px) {
  .cr-hero { padding: 4.5rem 1.25rem 4rem; }
  .cr-hero__cta { flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════════ */
.cr-btn {
  display: inline-block;
  font-family: 'Krona One', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 0;
  transition: background var(--cr-transition), color var(--cr-transition), box-shadow var(--cr-transition), transform var(--cr-transition);
  cursor: pointer;
  line-height: 1;
}

.cr-btn--primary {
  background: var(--cr-orange);
  color: var(--cr-white);
  border: 2px solid var(--cr-orange);
}
.cr-btn--primary:hover, .cr-btn--primary:focus {
  background: var(--cr-orange-alt);
  border-color: var(--cr-orange-alt);
  color: var(--cr-white);
  box-shadow: 0 6px 20px rgba(228,123,2,0.35);
  transform: translateY(-2px);
}

.cr-btn--ghost {
  background: transparent;
  color: var(--cr-white);
  border: 2px solid rgba(255,255,255,0.5);
}
.cr-btn--ghost:hover, .cr-btn--ghost:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--cr-white);
  color: var(--cr-white);
}

.cr-btn--white {
  background: var(--cr-white);
  color: var(--cr-dark);
  border: 2px solid var(--cr-white);
}
.cr-btn--white:hover, .cr-btn--white:focus {
  background: var(--cr-orange);
  border-color: var(--cr-orange);
  color: var(--cr-white);
  transform: translateY(-2px);
}

/* Inline text link */
.cr-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cr-orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--cr-transition);
  margin-top: 0.75rem;
}
.cr-link:hover { border-color: var(--cr-orange); color: var(--cr-orange); }

/* ════════════════════════════════════════════════════════════════
   STATS BAR
   ════════════════════════════════════════════════════════════════ */
.cr-stats-bar {
  background: var(--cr-orange);
  padding: 1.5rem 1.5rem;
}

.cr-stats-bar__inner {
  max-width: var(--cr-max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1.5rem;
}

.cr-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cr-stat__num {
  font-family: 'Krona One', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--cr-white);
  line-height: 1.1;
}

.cr-stat__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin-top: 0.25rem;
}

@media (max-width: 767px) {
  .cr-stats-bar__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
  }
}

/* ════════════════════════════════════════════════════════════════
   TWO-COLUMN LAYOUT
   ════════════════════════════════════════════════════════════════ */
.cr-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.cr-two-col__text h2 { margin-top: 0.5rem; margin-bottom: 1rem; }
.cr-two-col__text p  { color: var(--cr-muted); line-height: 1.7; }

.cr-two-col__text--light h2 { color: var(--cr-white); }
.cr-two-col__text--light p  { color: rgba(255,255,255,0.75); }
.cr-two-col__text--light .cr-eyebrow { background: rgba(255,255,255,0.1); }

.cr-two-col__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .cr-two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .cr-two-col__cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .cr-two-col__cards { grid-template-columns: 1fr; }
}

/* ── Mini cards (contractor type cards) ── */
.cr-mini-card {
  background: var(--cr-white);
  border: 1px solid #e8eaed;
  border-top: 3px solid var(--cr-orange);
  border-radius: var(--cr-radius);
  padding: 1.25rem 1.1rem 1.4rem;
  transition: box-shadow var(--cr-transition), transform var(--cr-transition);
}
.cr-mini-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.cr-mini-card__icon {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}
.cr-mini-card strong {
  display: block;
  font-family: 'Krona One', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--cr-dark);
  margin-bottom: 0.4rem;
}
.cr-mini-card p {
  font-size: 0.88rem;
  color: var(--cr-muted);
  line-height: 1.5;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   SERVICES GRID (3-UP CARDS)
   ════════════════════════════════════════════════════════════════ */
.cr-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 1024px) { .cr-services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px)  { .cr-services-grid { grid-template-columns: 1fr; } }

.cr-service-card {
  background: var(--cr-white);
  border: 1px solid #e8eaed;
  border-radius: var(--cr-radius);
  padding: 2rem 1.75rem 2rem;
  transition: box-shadow var(--cr-transition), transform var(--cr-transition);
  position: relative;
}
.cr-service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--cr-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.cr-service-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.cr-service-card:hover::after { transform: scaleX(1); }

.cr-service-card__icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  display: block;
}
.cr-service-card h3 {
  font-family: 'Krona One', sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--cr-dark);
  margin: 0 0 0.75rem;
}
.cr-service-card p {
  font-size: 0.95rem;
  color: var(--cr-muted);
  line-height: 1.65;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   CITY LIST (SERVICE AREA TAGS)
   ════════════════════════════════════════════════════════════════ */
.cr-city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.cr-city-list span {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--cr-white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4em 0.9em;
  border-radius: 2rem;
  transition: background var(--cr-transition);
}
.cr-city-list span:hover {
  background: rgba(228,123,2,0.25);
  border-color: var(--cr-orange);
}

/* ════════════════════════════════════════════════════════════════
   CTA BANNER
   ════════════════════════════════════════════════════════════════ */
.cr-cta-banner {
  background: var(--cr-orange);
  background-image: linear-gradient(135deg, var(--cr-orange) 0%, var(--cr-orange-alt) 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Subtle chevron texture */
.cr-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 2px,
    transparent 2px,
    transparent 16px
  );
  pointer-events: none;
}
.cr-cta-banner .cr-container { position: relative; z-index: 1; }
.cr-cta-banner h2 {
  font-family: 'Krona One', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--cr-white);
  margin: 0 0 1rem;
  line-height: 1.3;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.cr-cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

@media (max-width: 767px) { .cr-cta-banner { padding: 3.5rem 1.25rem; } }

/* ════════════════════════════════════════════════════════════════
   HEADINGS WITHIN DARK SECTIONS
   ════════════════════════════════════════════════════════════════ */
.cr-section--dark h2,
.cr-section--dark h3,
.cr-section--dark h4 {
  color: var(--cr-white);
}
.cr-section--dark p { color: rgba(255,255,255,0.75); }

/* ════════════════════════════════════════════════════════════════
   CONTAINER MODIFIERS
   ════════════════════════════════════════════════════════════════ */

/* Narrow centered container (articles, FAQs, philosophy) */
.cr-narrow {
  max-width: 842px;
  margin-left: auto;
  margin-right: auto;
}

/* ════════════════════════════════════════════════════════════════
   INNER PAGE HERO  (.cr-page-hero)
   Used on About, Service, SEO, Web Design pages
   ════════════════════════════════════════════════════════════════ */
.cr-page-hero {
  background: var(--cr-dark);
  background-image:
    linear-gradient(135deg, rgba(228,123,2,0.10) 0%, transparent 55%),
    linear-gradient(to bottom right, #1f2933 55%, #263545 100%);
  padding: 5rem 1.5rem 4.5rem;
  position: relative;
  overflow: hidden;
}

/* Dot-grid texture matching the homepage hero */
.cr-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

/* Orange left accent bar */
.cr-page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px;
  height: 100%;
  background: var(--cr-orange);
}

.cr-page-hero .cr-container {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.cr-page-hero .cr-eyebrow {
  color: var(--cr-orange);
  background: rgba(228,123,2,0.15);
}

.cr-page-hero h1 {
  font-family: 'Krona One', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  color: var(--cr-white);
  margin: 0.5rem 0 1rem;
}

.cr-page-hero p {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 1.75rem;
}

/* Shorter variant — slightly less padding */
.cr-page-hero--short {
  padding: 3.5rem 1.5rem 3rem;
}

@media (max-width: 767px) {
  .cr-page-hero        { padding: 3.5rem 1.25rem 3rem; }
  .cr-page-hero--short { padding: 2.5rem 1.25rem 2rem; }
}

/* ════════════════════════════════════════════════════════════════
   BREADCRUMB NAV
   ════════════════════════════════════════════════════════════════ */
.cr-breadcrumb {
  background: var(--cr-bg-gray);
  border-bottom: 1px solid #e2e4e8;
  padding: 0.6rem 0;
  font-size: 0.82rem;
  color: var(--cr-muted);
}

.cr-breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  align-items: center;
}

.cr-breadcrumb__list li:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: var(--cr-subtle);
}

.cr-breadcrumb__list a {
  color: var(--cr-orange);
  text-decoration: none;
}
.cr-breadcrumb__list a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════
   PAGE CONTENT AREA  (prose from WP editor)
   ════════════════════════════════════════════════════════════════ */
.cr-page-content h2,
.cr-page-content h3,
.cr-page-content h4 {
  color: var(--cr-dark);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

.cr-page-content p,
.cr-page-content li {
  color: var(--cr-muted);
  line-height: 1.75;
  font-size: 1rem;
}

.cr-page-content ul,
.cr-page-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.25rem;
}

.cr-page-content a {
  color: var(--cr-orange);
  text-decoration: underline;
}

/* ════════════════════════════════════════════════════════════════
   SECTION HEADER — LIGHT VARIANT (on dark backgrounds)
   ════════════════════════════════════════════════════════════════ */
.cr-section-header--light h2,
.cr-section-header--light p {
  color: var(--cr-white);
}
.cr-section-header--light p { color: rgba(255,255,255,0.72); }

/* ════════════════════════════════════════════════════════════════
   VALUES BOX  (About page — 2×2 grid of value items)
   ════════════════════════════════════════════════════════════════ */
.cr-values-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cr-value-item {
  background: var(--cr-bg-gray);
  border-radius: var(--cr-radius);
  border-left: 3px solid var(--cr-orange);
  padding: 1.25rem 1.1rem;
  transition: box-shadow var(--cr-transition), transform var(--cr-transition);
}
.cr-value-item:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.cr-value-icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.cr-value-item h4 {
  font-family: 'Krona One', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--cr-dark);
  margin: 0 0 0.35rem;
}

.cr-value-item p {
  font-size: 0.875rem;
  color: var(--cr-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 767px) { .cr-values-box { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════
   INDUSTRY GRID  (About page — chip/tag grid)
   ════════════════════════════════════════════════════════════════ */
.cr-industry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.cr-industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--cr-white);
  border: 1px solid #dde0e6;
  border-radius: 2rem;
  padding: 0.55em 1.1em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cr-dark);
  transition: border-color var(--cr-transition), box-shadow var(--cr-transition), transform var(--cr-transition);
}
.cr-industry-chip:hover {
  border-color: var(--cr-orange);
  box-shadow: 0 4px 12px rgba(228,123,2,0.15);
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════════════════════════
   PHILOSOPHY GRID  (About page — 2×2 on dark)
   ════════════════════════════════════════════════════════════════ */
.cr-philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  margin-top: 1rem;
}

.cr-philosophy-point h3 {
  font-family: 'Krona One', sans-serif;
  font-size: 0.9rem;
  color: var(--cr-orange);
  margin: 0 0 0.6rem;
  text-transform: none;
  letter-spacing: 0;
}

.cr-philosophy-point p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 767px) { .cr-philosophy-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ════════════════════════════════════════════════════════════════
   CITY LIST — CENTERED VARIANT
   ════════════════════════════════════════════════════════════════ */
.cr-city-list--centered {
  justify-content: center;
  margin-top: 1.5rem;
}

/* On white/light sections, restyle tags */
.cr-section--white .cr-city-list span,
.cr-section--gray .cr-city-list span {
  background: var(--cr-bg-gray);
  border-color: #dde0e6;
  color: var(--cr-dark);
}
.cr-section--white .cr-city-list span:hover,
.cr-section--gray .cr-city-list span:hover {
  background: rgba(228,123,2,0.08);
  border-color: var(--cr-orange);
  color: var(--cr-orange);
}

/* ════════════════════════════════════════════════════════════════
   CHECKLIST  (.cr-check-list) — on dark sections
   ════════════════════════════════════════════════════════════════ */
.cr-check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cr-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
}

.cr-check-list li::before {
  content: '✓';
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3em;
  height: 1.3em;
  background: var(--cr-orange);
  color: var(--cr-white);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  margin-top: 0.1em;
}

/* On light section backgrounds */
.cr-section--white .cr-check-list li,
.cr-section--gray .cr-check-list li {
  color: var(--cr-muted);
}

/* ════════════════════════════════════════════════════════════════
   TIMELINE  (.cr-timeline) — SEO timeline on dark section
   ════════════════════════════════════════════════════════════════ */
.cr-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 1.5rem;
}

.cr-timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6rem; bottom: 0.6rem;
  width: 2px;
  background: rgba(228,123,2,0.35);
}

.cr-timeline-item {
  position: relative;
  padding: 1rem 0 1rem 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.cr-timeline-item:last-child { border-bottom: none; }

/* Orange dot on the vertical line */
.cr-timeline-item::before {
  content: '';
  position: absolute;
  left: -1.55rem;
  top: 1.35rem;
  width: 10px;
  height: 10px;
  background: var(--cr-orange);
  border-radius: 50%;
  border: 2px solid var(--cr-dark);
}

.cr-timeline-num {
  display: inline-block;
  font-family: 'Krona One', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cr-orange);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.cr-timeline-item p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   FAQ  (.cr-faq)
   ════════════════════════════════════════════════════════════════ */
.cr-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cr-faq__item {
  border-bottom: 1px solid #e2e4e8;
  padding: 1.75rem 0;
}
.cr-faq__item:last-child { border-bottom: none; }

.cr-faq__item h3 {
  font-family: 'Krona One', sans-serif;
  font-size: 0.95rem;
  color: var(--cr-dark);
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.cr-faq__item p {
  font-size: 0.95rem;
  color: var(--cr-muted);
  line-height: 1.75;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   PROCESS STEPS  (.cr-process-steps / .cr-step)
   ════════════════════════════════════════════════════════════════ */
.cr-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

@media (max-width: 1024px) { .cr-process-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px)  { .cr-process-steps { grid-template-columns: 1fr; } }

.cr-step {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  border-radius: var(--cr-radius);
  border: 1px solid #e2e4e8;
  transition: box-shadow var(--cr-transition), transform var(--cr-transition);
}
.cr-step:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

.cr-step--light { background: var(--cr-white); }
.cr-step--dark  { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }

.cr-step__num {
  font-family: 'Krona One', sans-serif;
  font-size: 2rem;
  color: var(--cr-orange);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.cr-step h3 {
  font-family: 'Krona One', sans-serif;
  font-size: 0.85rem;
  color: var(--cr-dark);
  margin: 0 0 0.6rem;
}
.cr-step--dark h3 { color: var(--cr-white); }

.cr-step p {
  font-size: 0.9rem;
  color: var(--cr-muted);
  line-height: 1.6;
  margin: 0;
}
.cr-step--dark p { color: rgba(255,255,255,0.72); }

/* ════════════════════════════════════════════════════════════════
   FEATURE HIGHLIGHT BOX  (Web Design page — "Revenue Loop")
   ════════════════════════════════════════════════════════════════ */
.cr-feature-box {
  display: flex;
  align-items: stretch;
}

.cr-feature-highlight {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--cr-radius);
  padding: 2.25rem 2rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Orange accent top border */
.cr-feature-highlight::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--cr-orange), var(--cr-orange-alt));
}

.cr-feature-highlight__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cr-feature-highlight h3 {
  font-family: 'Krona One', sans-serif;
  font-size: 1rem;
  color: var(--cr-white);
  margin: 0 0 1rem;
}

.cr-feature-highlight p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin: 0 0 0.75rem;
}
.cr-feature-highlight p:last-child { margin-bottom: 0; }

/* ════════════════════════════════════════════════════════════════
   GHOST-LIGHT BUTTON  (white ghost on dark CTA)
   ════════════════════════════════════════════════════════════════ */
.cr-btn--ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 2px solid rgba(255,255,255,0.35);
  display: inline-block;
  font-family: 'Krona One', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 0;
  transition: background var(--cr-transition), border-color var(--cr-transition), color var(--cr-transition);
}
.cr-btn--ghost-light:hover, .cr-btn--ghost-light:focus {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--cr-white);
}

/* ════════════════════════════════════════════════════════════════
   GLOBAL BODY / TYPOGRAPHY POLISH
   Applies to all pages including default WP/Kadence pages
   ════════════════════════════════════════════════════════════════ */

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Make sure all headings use brand font */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Krona One', sans-serif;
  color: var(--cr-dark);
}

/* Body text */
body, p {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: var(--cr-body);
}

/* Global link color */
a { color: var(--cr-orange); }
a:hover { color: var(--cr-orange-alt); }

/* Focus ring for accessibility */
:focus-visible {
  outline: 2px solid var(--cr-orange);
  outline-offset: 3px;
}

/* ════════════════════════════════════════════════════════════════
   KADENCE DEFAULT CONTENT AREA — brand integration
   Styles for pages using Kadence's default content template
   (not a custom cr- template)
   ════════════════════════════════════════════════════════════════ */

/* Ensure the main content area doesn't have excessive top/bottom padding */
.site-main, .content-area { min-height: 40vh; }

/* Kadence entry title styling */
.entry-title {
  font-family: 'Krona One', sans-serif;
  color: var(--cr-dark);
}

/* Kadence button override — so WP editor buttons match brand */
.wp-block-button__link,
.kb-btn {
  font-family: 'Krona One', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  border-radius: 0 !important;
}

/* Kadence block separator / divider brand color */
.wp-block-separator { border-color: var(--cr-orange); }

/* ════════════════════════════════════════════════════════════════
   UTILITY: visually hidden (accessibility)
   ════════════════════════════════════════════════════════════════ */
.cr-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ════════════════════════════════════════════════════════════════
   CONTACT PAGE — two-column layout + form styles
   ════════════════════════════════════════════════════════════════ */

/* Two-column wrapper: trust copy left, form right */
.cr-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .cr-contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Left column — trust copy */
.cr-contact-trust h2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.cr-contact-trust p {
  color: var(--cr-body);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

/* Contact detail items (icon + text pairs) */
.cr-contact-trust__details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cr-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.cr-contact-detail__icon {
  font-size: 1.25rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.cr-contact-detail div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.cr-contact-detail strong {
  font-size: 0.9rem;
  color: var(--cr-dark);
  font-weight: 600;
}

.cr-contact-detail span {
  font-size: 0.825rem;
  color: var(--cr-muted);
}

/* Right column — form card */
.cr-contact-form-wrap {
  position: sticky;
  top: 2rem;
}

.cr-contact-form {
  background: var(--cr-white);
  border: 1px solid #e2e4e8;
  box-shadow: 0 4px 24px rgba(31,41,51,0.08);
  padding: 2.5rem;
}

@media (max-width: 600px) {
  .cr-contact-form { padding: 1.75rem 1.25rem; }
}

/* Form rows */
.cr-form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cr-form-row--two {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 600px) {
  .cr-form-row--two { grid-template-columns: 1fr; }
}

/* Form groups — label + input stacked */
.cr-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.cr-form-row .cr-form-group {
  margin-bottom: 0;
}

.cr-form-group label {
  font-family: 'Inter', sans-serif;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--cr-dark);
  letter-spacing: 0.02em;
}

.cr-form-required {
  color: var(--cr-orange);
  margin-left: 2px;
}

/* Inputs, selects */
.cr-form-group input,
.cr-form-group select,
.cr-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd2d9;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--cr-dark);
  background: var(--cr-white);
  transition: border-color var(--cr-transition), box-shadow var(--cr-transition);
  appearance: auto;
  box-sizing: border-box;
}

.cr-form-group input:focus,
.cr-form-group select:focus,
.cr-form-group textarea:focus {
  outline: none;
  border-color: var(--cr-orange);
  box-shadow: 0 0 0 3px rgba(228,123,2,0.15);
}

.cr-form-group input::placeholder,
.cr-form-group textarea::placeholder {
  color: var(--cr-subtle);
}

/* Submit button — full width */
.cr-form__submit {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
}

/* Disclaimer text under submit */
.cr-form-disclaimer {
  font-size: 0.775rem;
  color: var(--cr-subtle);
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* Success state */
.cr-form-success {
  text-align: center;
  padding: 2rem 1rem;
}

.cr-form-success__icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.cr-form-success h3 {
  font-family: 'Krona One', sans-serif;
  color: var(--cr-dark);
  margin-bottom: 0.75rem;
}

.cr-form-success p {
  color: var(--cr-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Error state */
.cr-form-error {
  background: #fff5f5;
  border: 1px solid #fc8181;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.cr-form-error p {
  font-size: 0.875rem;
  color: #c53030;
  margin: 0;
}
