:root {
    --brand-blue: #2f78b7;
    --brand-blue-dark: #143f68;
    --brand-cyan: #08a7e0;
    --ink: #121820;
    --muted: #5c6875;
    --surface: #f3f7fa;
    --white: #ffffff;
    --line: #d9e2e8;
    --shadow: 0 18px 50px rgba(12, 36, 56, .12);
    --radius: 18px;
    --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 9999; transform: translateY(-150%); background: var(--ink); color: white; padding: .75rem 1rem; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { width: 220px; height: auto; }
.menu-toggle { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: white; display: grid; place-content: center; gap: 5px; }
.menu-toggle span:not(.sr-only) { width: 24px; height: 2px; background: var(--ink); }
.primary-nav { position: absolute; inset: 76px 0 auto; background: white; border-bottom: 1px solid var(--line); padding: 1rem; display: none; flex-direction: column; gap: .25rem; box-shadow: var(--shadow); }
.primary-nav.is-open { display: flex; }
.primary-nav a { text-decoration: none; padding: .9rem 1rem; border-radius: 10px; font-weight: 700; }
.nav-cta { background: var(--brand-blue-dark); color: white; }
.hero { background: linear-gradient(145deg, #f7fafc 0%, #edf5fa 60%, #dceaf5 100%); padding: 4rem 0; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.eyebrow { color: var(--brand-blue); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
h1, h2, h3 { line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(2.35rem, 10vw, 5.2rem); letter-spacing: -.05em; margin-bottom: 1.2rem; }
h2 { font-size: clamp(2rem, 7vw, 3.6rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
.hero-lead { font-size: clamp(1.05rem, 3vw, 1.3rem); color: var(--muted); max-width: 64ch; }
.hero-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.button-row { display: grid; gap: .8rem; margin: 1.7rem 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .85rem 1.2rem; border-radius: 10px; text-decoration: none; font-weight: 800; border: 2px solid transparent; cursor: pointer; }
.button-primary { background: var(--brand-blue-dark); color: white; }
.button-secondary { background: white; border-color: var(--brand-blue-dark); color: var(--brand-blue-dark); }
.hero-points { padding: 0; margin: 1.2rem 0 0; list-style: none; display: grid; gap: .6rem; color: var(--brand-blue-dark); font-weight: 700; }
.hero-points li::before { content: '✓'; margin-right: .55rem; color: var(--brand-cyan); }
.trust-strip { background: var(--brand-blue-dark); color: white; }
.trust-grid { display: grid; gap: 1px; background: rgba(255,255,255,.15); }
.trust-grid div { padding: 1.2rem; background: var(--brand-blue-dark); }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-size: 1.15rem; }
.trust-grid span { color: rgba(255,255,255,.72); font-size: .92rem; }
.section { padding: 4.5rem 0; }
.section-heading { max-width: 760px; margin-bottom: 2rem; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.card-grid { display: grid; gap: 1.25rem; }
.service-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; box-shadow: 0 10px 30px rgba(12,36,56,.06); }
.service-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.service-card div { padding: 1.25rem; }
.service-card p { color: var(--muted); }
.section-dark { background: var(--ink); color: white; }
.section-dark p { color: #c7d0d8; }
.split-grid { display: grid; gap: 2rem; align-items: center; }
.portrait-wrap img { width: min(100%, 470px); aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.text-link { color: #7ed8ff; font-weight: 800; text-decoration: none; }
.feature-grid { display: grid; gap: 1rem; }
.feature-grid > div { padding: 1.4rem; background: var(--surface); border-left: 5px solid var(--brand-blue); border-radius: 0 12px 12px 0; }
.feature-grid p { color: var(--muted); margin-bottom: 0; }
.credential-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.credential-row img { width: auto; max-width: 180px; max-height: 130px; object-fit: contain; }
.contact-section { background: var(--surface); }
.contact-grid { display: grid; gap: 2rem; }
.contact-form { display: grid; gap: 1rem; background: white; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: .35rem; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #bac8d3; border-radius: 9px; padding: .85rem; font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(8,167,224,.25); border-color: var(--brand-cyan); }
.site-footer { background: #0b1118; color: white; padding-top: 3rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid p, .footer-grid a { color: #c3ccd4; }
.footer-grid h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-logo { max-width: 260px; background: white; padding: .45rem; border-radius: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding: 1rem 0; color: #8f9ba6; font-size: .9rem; }
@media (min-width: 700px) {
    .button-row { display: flex; flex-wrap: wrap; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-form { padding: 2rem; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (min-width: 960px) {
    .menu-toggle { display: none; }
    .primary-nav { position: static; display: flex; flex-direction: row; align-items: center; padding: 0; box-shadow: none; border: 0; background: transparent; }
    .primary-nav a { padding: .65rem .8rem; }
    .hero { padding: 6rem 0; }
    .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
    .trust-grid { grid-template-columns: repeat(4, 1fr); }
    .section { padding: 7rem 0; }
    .split-grid { grid-template-columns: .8fr 1.2fr; gap: 5rem; }
    .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; }
}


/* =========================================================
   Toledo Consulting interior-page system
   Deliberately uses the same brand palette, typography,
   spacing, shadows and rounded geometry as the homepage.
   ========================================================= */
.inner-page { background:#fff; }
.inner-hero {
    background:linear-gradient(145deg,#f7fafc 0%,#edf5fa 60%,#dceaf5 100%);
    border-bottom:1px solid var(--line);
    padding:4.5rem 0 4rem;
}
.inner-hero-grid { display:grid; gap:2.5rem; align-items:center; }
.inner-hero-copy { max-width:720px; }
.inner-hero h1 {
    font-family:inherit;
    font-size:clamp(2.35rem,5vw,4.15rem);
    line-height:1.04;
    letter-spacing:-.045em;
    max-width:15ch;
    margin:0 0 1.2rem;
    color:var(--ink);
}
.inner-hero .lead { font-size:clamp(1.08rem,2vw,1.28rem); color:var(--muted); max-width:63ch; }
.inner-hero-media { position:relative; }
.inner-hero-media::after {
    content:""; position:absolute; width:62%; aspect-ratio:1; right:-7%; bottom:-11%;
    border-radius:50%; background:rgba(8,167,224,.11); z-index:0;
}
.inner-hero-media img {
    position:relative; z-index:1; width:100%; min-height:300px; max-height:455px;
    aspect-ratio:4/3; object-fit:cover; border-radius:var(--radius); box-shadow:var(--shadow);
}
.breadcrumbs { font-size:.9rem; color:#667685; margin-bottom:1rem; }
.breadcrumbs a { color:var(--brand-blue-dark); font-weight:700; text-decoration:none; }
.breadcrumbs a:hover { text-decoration:underline; }
.inner-section { padding:5rem 0; }
.inner-section.soft { background:var(--surface); }
.inner-section.dark { background:var(--brand-blue-dark); color:#fff; }
.inner-section.dark p,.inner-section.dark li { color:rgba(255,255,255,.82); }
.inner-section.dark h2,.inner-section.dark h3 { color:#fff; }
.inner-heading { max-width:800px; margin-bottom:2rem; }
.inner-heading h2 {
    font-size:clamp(2rem,4vw,3.15rem); color:var(--ink); letter-spacing:-.035em; margin-bottom:.8rem;
}
.inner-heading p { color:var(--muted); font-size:1.08rem; }
.inner-section.dark .inner-heading h2 { color:#fff; }
.inner-section.dark .inner-heading p { color:rgba(255,255,255,.8); }
.detail-grid { display:grid; gap:1.2rem; }
.detail-card {
    position:relative; background:#fff; border:1px solid rgba(15,42,77,.12); border-radius:16px;
    padding:1.5rem; box-shadow:0 10px 28px rgba(15,42,77,.07); overflow:hidden;
}
.detail-card::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background:linear-gradient(var(--brand-blue),var(--brand-cyan)); }
.detail-card h3 { color:var(--brand-blue-dark); margin:.1rem 0 .55rem; font-size:1.22rem; }
.detail-card p,.detail-card li { color:#526275; }
.detail-card ul { margin:.7rem 0 0; padding-left:1.15rem; }
.step-grid { display:grid; gap:1.2rem; counter-reset:step; }
.step-card { counter-increment:step; background:#fff; border:1px solid var(--line); border-radius:16px; padding:1.5rem; box-shadow:0 10px 26px rgba(12,36,56,.055); }
.step-card::before { content:counter(step, decimal-leading-zero); display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; border-radius:12px; background:var(--brand-blue-dark); color:#fff; font-weight:800; margin-bottom:1rem; }
.step-card h3 { color:var(--brand-blue-dark); }
.split-content { display:grid; gap:2.5rem; align-items:center; }
.split-content img { width:100%; border-radius:var(--radius); box-shadow:var(--shadow); aspect-ratio:4/3; object-fit:cover; }
.prose-block { max-width:860px; }
.prose-block h2 { font-size:clamp(1.8rem,3.5vw,2.65rem); color:var(--brand-blue-dark); margin-top:2.6rem; }
.prose-block h2:first-child { margin-top:0; }
.prose-block h3 { margin-top:1.7rem; color:var(--brand-blue-dark); }
.prose-block p,.prose-block li { color:#455260; font-size:1.04rem; }
.keyword-band { background:linear-gradient(135deg,#0f2a4d,#173f70); color:#fff; border-radius:18px; padding:2rem; box-shadow:0 18px 42px rgba(15,42,77,.18); }
.keyword-band h2,.keyword-band h3 { color:#fff; }
.keyword-band p,.keyword-band li { color:rgba(255,255,255,.83); }
.keyword-band .button-secondary { border-color:#fff; }
.check-list { list-style:none; padding:0; margin:1rem 0 0; display:grid; gap:.6rem; }
.check-list li { position:relative; padding-left:1.65rem; }
.check-list li::before { content:"✓"; position:absolute; left:0; top:0; color:var(--brand-cyan); font-weight:900; }
.app-proof-grid { display:grid; gap:1.25rem; }
.app-proof-card { background:#fff; border:1px solid rgba(15,42,77,.12); border-radius:18px; overflow:hidden; box-shadow:0 12px 30px rgba(15,42,77,.07); }
.app-logo-box { height:145px; display:flex; align-items:center; justify-content:center; padding:1.25rem; border-bottom:1px solid rgba(15,42,77,.1); background:#fff; }
.app-logo-box img { width:auto !important; height:auto !important; max-height:105px !important; max-width:82% !important; object-fit:contain !important; margin:0 !important; }
.app-proof-body { padding:1.4rem; }
.app-proof-body h3 { color:var(--brand-blue-dark); margin-bottom:.55rem; }
.app-proof-body p { color:#526275; }
.app-proof-body a { color:#1e6fa8; font-weight:800; text-decoration:none; }
.local-area { columns:2; column-gap:2rem; padding-left:1.1rem; color:#526275; }
.stat-row { display:grid; gap:1px; background:rgba(255,255,255,.16); border-radius:16px; overflow:hidden; }
.stat-row > div { background:var(--brand-blue-dark); padding:1.25rem; }
.stat-row strong { display:block; font-size:1.3rem; color:#fff; }
.stat-row span { color:rgba(255,255,255,.72); }
.inline-cta { margin-top:2rem; }
.page-faq details { background:#fff; border:1px solid var(--line); border-radius:12px; padding:1rem 1.15rem; margin-bottom:.8rem; }
.page-faq summary { cursor:pointer; font-weight:800; color:var(--brand-blue-dark); }
.page-faq p { color:#526275; }
@media(min-width:700px){
  .detail-grid.two,.step-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .detail-grid.three,.app-proof-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .stat-row { grid-template-columns:repeat(3,1fr); }
}
@media(min-width:960px){
  .inner-hero { padding:6rem 0 5.5rem; }
  .inner-hero-grid { grid-template-columns:1.08fr .92fr; gap:4rem; }
  .split-content { grid-template-columns:1fr 1fr; gap:4rem; }
  .detail-grid.four { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media(max-width:699px){ .local-area{columns:1;} .inner-hero{padding:3.25rem 0 3.75rem;} }
/* Application case study logo treatment */
.app-case-logo { display:flex; align-items:center; justify-content:center; background:#fff; padding:2.25rem; }
.app-case-logo img { width:auto; max-width:88%; max-height:290px; object-fit:contain; }

/* Contact form status and spam-trap helpers */
.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.form-notice {
    margin: 0 0 1rem;
    padding: .9rem 1rem;
    border-radius: 10px;
    font-weight: 700;
}
.form-notice-success {
    background: #e9f8f1;
    border: 1px solid #9bd8bc;
    color: #145c3d;
}
.form-notice-error {
    background: #fff3f2;
    border: 1px solid #e6aaa5;
    color: #8a2f28;
}
.contact-form-wrap { min-width: 0; }
