/*
Theme Name: Consiplus Consulting v4
Theme URI: https://consiplus.com/
Author: Consiplus
Description: A self-contained one-page consulting theme for Consiplus.
Version: 4.0.0
Requires PHP: 7.4
Text Domain: consiplus
*/

:root {
  --ink: #0a2459;
  --royal: #1e71e4;
  --cyan: #1e71e4;
  --charcoal: #5f626b;
  --mist: #f1f3f6;
  --oslo: #9fa1a9;
  --gold: #e6b300;
  --gold-gradient: linear-gradient(135deg, #e6b300 0%, #997700 62%, #443300 100%);
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: "Montserrat", "Avenir Next", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img, svg { display: block; max-width: 100%; }
.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; }

.site-header { height: 82px; padding: 0 5vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: rgba(255,255,255,.96); border-bottom: 1px solid #dedfe3; position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(14px); }
.admin-bar .site-header { top: 32px; }
.brand img { width: 172px; display: block; }
.desktop-nav { display: flex; gap: 28px; align-items: center; font-size: 13px; font-weight: 650; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; height: 2px; background: var(--gold-gradient); left: 0; right: 100%; bottom: -8px; transition: right .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-cta { justify-self: end; min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; gap: 10px; background: var(--royal); color: white; font-size: 12px; font-weight: 700; box-shadow: inset 0 -2px 0 rgba(10,36,89,.22); }
.icon { width: 17px; height: 17px; flex: 0 0 auto; }
.menu-button, .mobile-nav { display: none; }

.hero { min-height: calc(100vh - 82px); padding: 9vh 7vw 4vh; background: linear-gradient(135deg, #06152f 0%, var(--ink) 58%, #103b7d 100%); color: white; position: relative; display: grid; grid-template-columns: 1.05fr .95fr; grid-template-rows: 1fr auto; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; opacity: .09; background-image: linear-gradient(rgba(255,255,255,.38) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.38) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, transparent 10%, #000 70%); }
.hero::before { content: ""; width: 46vw; height: 46vw; border: 1px solid rgba(30,113,228,.55); position: absolute; right: -12vw; top: -16vw; border-radius: 50%; }
.hero-copy { position: relative; z-index: 2; align-self: center; max-width: 740px; }
.eyebrow, .section-index { margin: 0 0 24px; color: var(--royal); text-transform: uppercase; letter-spacing: .15em; font-size: 11px; line-height: 1.4; font-weight: 750; }
.light { color: #79b3ff; }
.hero h1 { margin: 0; display: flex; flex-direction: column; gap: .06em; color: white; font-size: clamp(58px, 6.2vw, 104px); line-height: .95; letter-spacing: -.055em; font-weight: 700; }
.hero-title-solid { display: block; }
.hero-title-outline { display: flex; gap: .22em; color: transparent; -webkit-text-stroke: 1.5px #8bbcff; }
.hero-title-outline > span { display: block; color: transparent; -webkit-text-stroke: 1.5px #8bbcff; white-space: nowrap; }
.hero-intro { max-width: 650px; margin: 34px 0 38px; color: #d6d9e0; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 34px; }
.button { min-height: 52px; padding: 0 24px; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 16px; font-size: 13px; font-weight: 750; cursor: pointer; }
.button-cyan { background: var(--royal); color: white; box-shadow: inset 0 -2px 0 rgba(10,36,89,.28); }
.button-cyan:hover, .button-cyan:focus-visible { background: #155fc5; }
.text-link { display: inline-flex; align-items: center; gap: 12px; width: fit-content; color: var(--royal); font-size: 13px; font-weight: 750; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.light-link { color: white; border-color: rgba(255,255,255,.4); }
.hero-system { align-self: center; justify-self: center; width: min(38vw, 520px); aspect-ratio: 1; position: relative; z-index: 2; }
.integration-mark { position: absolute; inset: 29%; z-index: 4; display: grid; place-items: center; }
.integration-mark img { width: 100%; height: 100%; object-fit: contain; }
.orbit { position: absolute; border: 1px solid rgba(121,179,255,.5); border-radius: 50%; inset: 9%; animation: consiplus-spin 26s linear infinite; }
.orbit span { position: absolute; left: -5px; top: 50%; min-height: 30px; padding: 7px 11px 7px 26px; background: rgba(10,36,89,.94); color: #d6d9e0; font-size: 10px; line-height: 16px; text-transform: uppercase; letter-spacing: .18em; white-space: nowrap; transform: translateY(-50%); transform-origin: 5px 50%; animation: consiplus-counter-spin 26s linear infinite; }
.orbit span::before { content: ""; position: absolute; width: 10px; height: 10px; left: 0; top: 50%; border-radius: 50%; background: var(--gold); box-shadow: 0 0 20px rgba(230,179,0,.82); transform: translateY(-50%); }
.orbit-two { inset: 18%; border-color: rgba(30,113,228,.78); animation-direction: reverse; animation-duration: 20s; }
.orbit-two span { left: 50%; top: 100%; animation-name: consiplus-counter-spin-reverse; animation-duration: 20s; }
.orbit-two span::before { background: #1e71e4; box-shadow: 0 0 20px #1e71e4; }
.orbit-three { inset: 0; border-color: rgba(255,255,255,.18); animation-duration: 34s; }
.orbit-three span { left: 50%; top: 0; animation-duration: 34s; }
.orbit-three span::before { background: white; box-shadow: none; }
@keyframes consiplus-spin { to { transform: rotate(360deg); } }
@keyframes consiplus-counter-spin { to { rotate: -360deg; } }
@keyframes consiplus-counter-spin-reverse { to { rotate: 360deg; } }
.hero-foot { grid-column: 1 / -1; position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; color: #9eabbd; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }
.hero-foot p { margin: 0; color: white; font-weight: 650; }
.hero-foot div { display: flex; gap: 32px; }

.statement, .services { padding: 130px 7vw; }
.statement-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10vw; align-items: start; }
.statement h2, .section-heading h2, .contact h2, .principles h2, .why h2, .collaboration-heading h2 { margin: 0; font-size: clamp(40px, 5vw, 74px); line-height: 1.03; letter-spacing: -.045em; }
.statement-grid > div { padding-top: 8px; }
.statement-grid p { color: var(--charcoal); font-size: 15px; line-height: 1.8; }
.statement-grid .lead { margin-top: 0; color: var(--ink); font-size: 22px; line-height: 1.55; font-weight: 600; }
.statement-grid .text-link { margin-top: 24px; }

.principles { padding: 120px 7vw; background: var(--ink); color: white; display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; }
.principle-intro > p:last-child { color: #aab5c4; max-width: 340px; line-height: 1.7; }
.principle-list { border-top: 1px solid rgba(255,255,255,.24); }
.principle-list article { display: grid; grid-template-columns: 56px 150px 1fr; gap: 20px; align-items: start; padding: 31px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.principle-list article > span { color: var(--gold); font-size: 11px; letter-spacing: .1em; }
.principle-list h3 { margin: 0; font-size: 21px; }
.principle-list p { margin: 0; color: #aeb9c8; font-size: 14px; line-height: 1.7; }

.section-heading { max-width: 870px; margin-bottom: 68px; }
.section-heading > p:last-child { margin-top: 22px; color: var(--charcoal); font-size: 17px; }
.service-list { border-top: 1px solid rgba(159,161,169,.72); }
.service-row { display: grid; grid-template-columns: 70px .8fr 1.2fr; gap: 5vw; padding: 56px 0; border-bottom: 1px solid rgba(159,161,169,.58); }
.service-number { color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.service-title h3 { margin: 0 0 16px; font-size: clamp(26px, 2.5vw, 40px); line-height: 1.1; }
.service-title p { margin: 0; color: var(--royal); font-size: 15px; line-height: 1.6; font-weight: 650; max-width: 390px; }
.service-detail > p { margin: 0 0 24px; color: var(--charcoal); font-size: 14px; line-height: 1.75; max-width: 640px; }
.service-detail ul, .why ul { list-style: none; margin: 0; padding: 0; }
.service-detail li { display: flex; gap: 10px; margin: 10px 0; color: var(--ink); font-size: 13px; }
.service-detail li svg { width: 15px; color: var(--cyan); flex: 0 0 auto; }

.work-with-us { padding: 120px 7vw; background: linear-gradient(135deg, #071733 0%, #0a2459 100%); color: white; display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; position: relative; overflow: hidden; }
.work-with-us::after { content: ""; position: absolute; width: 440px; height: 440px; right: -210px; bottom: -230px; border: 1px solid rgba(230,179,0,.28); border-radius: 50%; }
.collaboration-heading, .collaboration-copy { position: relative; z-index: 1; }
.collaboration-copy { max-width: 720px; }
.collaboration-copy > p { color: #b8c5d6; font-size: 15px; line-height: 1.8; }
.collaboration-copy .collaboration-lead { margin-top: 0; color: white; font-size: 22px; line-height: 1.55; font-weight: 600; }
.collaboration-principles { margin: 34px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.collaboration-principles span { padding: 10px 13px; border: 1px solid rgba(230,179,0,.42); color: #fff3bf; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.collaboration-copy .collaboration-invite { margin: 0 0 30px; color: #d7dfeb; }
.collaboration-invite strong { color: white; }

.contact { padding: 120px 7vw; background: linear-gradient(135deg, #000000 0%, #071733 58%, #0a2459 100%); color: white; display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; }
.contact-copy > p:nth-of-type(2) { max-width: 600px; color: #b7c2d1; line-height: 1.75; font-size: 16px; }
.contact-details { margin-top: 54px; display: grid; gap: 16px; }
.contact-details a, .contact-details > span { display: flex; align-items: center; gap: 12px; color: white; font-size: 13px; }
.contact-details svg { width: 17px; color: var(--gold); }
.social-links { display: flex; gap: 12px; margin-top: 14px; }
.social-links a, .social-links > span, .footer-social a, .footer-social > span { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); color: white; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.social-links a:hover, .footer-social a:hover { border-color: var(--gold); background: rgba(230,179,0,.1); color: var(--gold); }
.social-links svg, .footer-social svg { width: 18px; height: 18px; color: currentColor; }
.social-disabled { opacity: .38; cursor: default; }
.contact-form { padding: 42px; background: white; color: var(--ink); display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: var(--charcoal); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 0; border-bottom: 1px solid #b8c5d2; border-radius: 0; box-shadow: none; min-height: 45px; padding: 10px 0; color: var(--ink); background: white; outline: none; }
.contact-form textarea { min-height: 90px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--royal); }
.consent { grid-template-columns: auto 1fr !important; align-items: center; text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; }
.consent input { width: 18px; min-height: 18px; }
.submit-button { width: 100%; min-height: 52px; border-radius: 0; background: var(--royal); color: white; box-shadow: inset 0 -2px 0 rgba(10,36,89,.28); }
.submit-button:disabled { opacity: .5; cursor: not-allowed; }
.form-note { margin: -8px 0 0; color: #6f7f91; font-size: 11px; line-height: 1.5; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; font-size: 14px; line-height: 1.5; }
.form-status.success { background: #e8f5ed; color: #145c32; border-left: 4px solid #248a4c; }
.form-status.error { background: #fff0f0; color: #8a2020; border-left: 4px solid #c63c3c; }
.website-field { position: absolute !important; left: -9999px !important; }

.site-footer { padding: 62px 7vw 32px; background: #000000; color: #9fa1a9; display: grid; grid-template-columns: 1fr 1fr auto auto; align-items: start; gap: 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; }
.site-footer img { width: 160px; }
.site-footer > p { margin: 4px 0; }
.footer-links { display: flex; gap: 26px; color: white; }
.footer-social { display: flex; gap: 9px; margin-top: -8px; }
.copyright { grid-column: 1 / -1; padding-top: 30px; margin-top: 30px !important; border-top: 1px solid rgba(255,255,255,.1); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .orbit, .orbit span { animation: none; } }
@media (max-width: 1120px) {
  .desktop-nav, .header-cta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-button { display: grid; place-items: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
  .mobile-nav { position: absolute; top: 82px; left: 0; right: 0; padding: 20px 5vw 28px; background: white; border-bottom: 1px solid #dbe3eb; }
  .mobile-nav.is-open { display: grid; }
  .mobile-nav a { padding: 15px 0; border-bottom: 1px solid #e3e9ef; display: flex; justify-content: space-between; font-weight: 650; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 100px; }
  .hero h1 { display: grid; gap: .18em; font-size: clamp(54px, 9vw, 86px); line-height: 1.08; letter-spacing: -.045em; }
  .hero-title-outline { display: contents; }
  .hero-title-outline > span { line-height: 1.08; }
  .hero-system { width: min(70vw, 480px); margin: 80px auto; }
  .orbit, .orbit span { animation: none; }
  .statement-grid, .principles, .work-with-us, .contact { grid-template-columns: 1fr; }
  .principles, .work-with-us, .contact { gap: 70px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 700px) {
  .site-header { height: 70px; }
  .brand img { width: 145px; }
  .mobile-nav { top: 70px; }
  .hero { min-height: calc(100vh - 70px); padding: 74px 6vw 28px; }
  .hero h1 { gap: .16em; font-size: clamp(47px, 14vw, 70px); line-height: 1.08; letter-spacing: -.045em; }
  .hero-intro { margin: 28px 0; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .hero-system { width: 85vw; margin: 65px auto; }
  .orbit span { min-height: 27px; padding: 6px 9px 6px 22px; font-size: 9px; letter-spacing: .14em; }
  .orbit span::before { width: 8px; height: 8px; }
  .hero-foot { align-items: flex-start; gap: 20px; flex-direction: column; }
  .hero-foot div { flex-wrap: wrap; gap: 15px 24px; }
  .statement, .services, .principles, .work-with-us, .contact { padding: 90px 6vw; }
  .statement h2, .section-heading h2, .contact h2, .principles h2, .collaboration-heading h2 { font-size: 42px; }
  .statement-grid { grid-template-columns: 1fr; gap: 46px; }
  .principle-list article { grid-template-columns: 42px 1fr; }
  .principle-list article p { grid-column: 2; }
  .service-row { grid-template-columns: 42px 1fr; gap: 28px 14px; }
  .service-detail { grid-column: 2; }
  .contact-form { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links, .footer-social { grid-column: 1; }
  .footer-social { margin-top: 0; }
  .copyright { grid-column: 1; }
}
