/*
 * HOM Robotics - site-wide CSS
 *
 * Brand colors, fonts and spacing belong in Divi's Design Variables
 * (Visual Builder > Design Variables) so they stay editable without code.
 * Use this file only for things the builder can't do. Group rules by section.
 *
 * Design system: navy #0A2540, navy 2 #0F3155, amber #F5A524 (buttons),
 * ink #1B2B3C, body #4A5868, light #F3F5F8, blue #0C71C3, muted #C9D4E0.
 * HOM logo colors (brand accents): logo blue #216094, gold #D4B56A.
 */

/* ---------- Brand tokens ---------- */
:root{--av-navy:#0A2540;--av-navy2:#0F3155;--av-amber:#F5A524;--av-ink:#1B2B3C;--av-body:#4A5868;--av-light:#F3F5F8;--av-blue:#0C71C3;--av-mute:#C9D4E0;--hom-blue:#216094;--hom-gold:#D4B56A;--hom-gold-soft:#F6EFDD}

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* Visible keyboard focus everywhere */
:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* ---------- Utilities (add as a CSS class on any Divi module) ---------- */

/* Keep long text lines readable */
.av-measure {
	max-width: 68ch;
}

/* Center a constrained text block */
.av-measure-center {
	max-width: 68ch;
	margin-left: auto;
	margin-right: auto;
}

/* Cards, chips and the "Based in Arizona" strip (avx-ind = detail cards, avx-chips = chips, avx-local = strip, avx-eng = 3-up cards) */
.avx-ind{display:grid;gap:28px}
.avx-ind-card{display:grid;grid-template-columns:320px 1fr;gap:40px;background:#fff;border-radius:14px;padding:38px;box-shadow:0 1px 2px rgba(10,37,64,.06),0 8px 24px rgba(10,37,64,.06);scroll-margin-top:130px}
.avx-ind-card h3{font-size:24px!important;line-height:1.25!important;color:#1B2B3C!important;margin:0 0 12px!important;padding:0!important}
.avx-ind-card p{font-size:16.5px;line-height:1.65;color:#4A5868;margin:0 0 12px}
.avx-ind-card .avx-tag{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#0C71C3;margin:0 0 10px}
.avx-chips{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:10px}
.avx-chip{display:inline-block;padding:8px 15px;border-radius:999px;background:#F3F5F8;color:#1B2B3C;font-size:14.5px;font-weight:600;line-height:1.3;text-decoration:none}
a.avx-chip:hover{background:#FFF1D6;color:#0A2540}
.avx-chips-label{font-size:14px;font-weight:700;color:#1B2B3C;margin:0 0 12px}
.avx-local{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 22px;text-align:center;color:#C9D4E0;font-size:17px;line-height:1.6}
.avx-local b{color:#fff}
.avx-pin{display:inline-flex;align-items:center;gap:8px;color:#F5A524;font-weight:800;letter-spacing:.06em;text-transform:uppercase;font-size:14px}
.avx-eng{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.avx-eng-card{background:#fff;border-radius:12px;padding:30px;border-top:4px solid #F5A524;box-shadow:0 1px 2px rgba(10,37,64,.06),0 8px 24px rgba(10,37,64,.06);display:flex;flex-direction:column}
.avx-eng-card h3{font-size:21px!important;color:#1B2B3C!important;margin:0 0 10px!important;padding:0!important}
.avx-eng-card p{font-size:16px;line-height:1.65;color:#4A5868;margin:0 0 14px}
.avx-eng-card .avx-best{margin-top:auto;font-size:14px;line-height:1.5;color:#0A2540;background:#F3F5F8;border-radius:8px;padding:10px 12px}
.avx-eng-card .avx-best b{color:#0C71C3}
.avx-note{text-align:center;max-width:780px;margin:32px auto 0;font-size:17px;line-height:1.65;color:#4A5868}
@media (max-width:980px){.avx-ind-card{grid-template-columns:1fr;gap:18px;padding:28px}.avx-eng{grid-template-columns:1fr}}
@media (min-width:981px) and (max-width:1180px){.avx-eng{grid-template-columns:repeat(2,1fr)}}
.et_pb_text ul.avx-chips,.avx-chips{list-style:none!important;padding:0!important;margin:0!important}
.avx-chips li{list-style:none!important;margin:0!important;padding:0!important}
.avx-center,.avx-center p{text-align:center}
/* Header: wider container on desktop so the menu lines up with the 1180px content rows */
@media (min-width:1280px){#main-header .container{width:90%;max-width:1240px}}

/* ---------- Lead form [hom_form] (inc/lead-form.php) ---------- */
.av-lead-form{position:relative;margin:0}
.av-lead-form .av-f{padding:8px 0;margin:0}
.av-lead-form .av-f[hidden]{display:none!important}
.av-lead-form .av-f-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;padding:0!important;margin:-1px!important;border:0!important}
.av-lead-form .av-f-other .av-f-label{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;white-space:normal!important;margin:0 0 6px!important;display:block;font-size:15px;font-weight:600;color:rgba(0,0,0,.85)}
.av-lead-form input,.av-lead-form select,.av-lead-form textarea{display:block;width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important;background:#fff!important;border:1px solid rgba(0,0,0,.25)!important;border-radius:6px!important;padding:12px 14px!important;font:inherit;font-size:16px!important;line-height:1.4!important;color:rgba(0,0,0,.75)!important;box-shadow:none!important}
.av-lead-form input::placeholder,.av-lead-form textarea::placeholder{color:rgba(0,0,0,.45);opacity:1}
.av-lead-form select{-webkit-appearance:none;appearance:none;min-height:48px;padding-right:40px!important;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234A5868' stroke-width='1.6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important}
.av-lead-form select:invalid{color:rgba(0,0,0,.45)!important}
.av-lead-form select option{color:#1B2B3C}
.av-lead-form textarea{min-height:110px;resize:vertical}
.av-lead-form input:focus,.av-lead-form select:focus,.av-lead-form textarea:focus{outline:none!important;border-color:#0C71C3!important;box-shadow:0 0 0 1px #0C71C3!important}
.av-lead-form .av-hp{position:absolute!important;left:-10000px!important;top:auto;width:1px;height:1px;overflow:hidden}
.av-lead-form .av-ts:empty{display:none}
.av-lead-form .av-ts{margin:8px 0 0}
.av-lead-form .av-f-submit{display:inline-block;margin:12px 0 0;background:#F5A524;color:#0A2540;border:0;border-radius:6px;font-family:inherit;font-weight:700;font-size:17px;line-height:1.2;padding:14px 32px;cursor:pointer;transition:background .15s}
.av-lead-form .av-f-submit:hover{background:#e0931a}
.av-lead-form .av-f-submit:disabled{opacity:.75;cursor:wait}
.av-lead-form .av-f-msg{margin:12px 0 0;padding:10px 12px;border-radius:6px;background:#fdecea;color:#8a1f11;font-size:15px;line-height:1.4}
.av-lead-form .av-f-msg[hidden]{display:none}

/* Visible label above the "How can we help?" box (other labels stay visually hidden; placeholders show instead) */
.av-lead-form .av-f-show .av-f-label{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;white-space:normal!important;margin:0 0 6px!important;display:block;font-size:15px;font-weight:600;color:rgba(0,0,0,.85)}
.av-lead-form .av-f-legal{margin:12px 0 0;font-size:13.5px;line-height:1.5;color:#4A5868}
.av-lead-form .av-f-legal a{color:#0C71C3;font-weight:600;text-decoration:underline}

/* ---------- HOM brand accents (logo blue #216094, gold #D4B56A) ----------
   Use where the HOM brand should show; buttons stay amber. */
.hom-blue{color:#216094!important}
.hom-gold{color:#D4B56A!important}
.hom-eyebrow-gold{font-size:14px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#D4B56A;margin-bottom:14px}
.hom-rule{display:block;width:64px;height:4px;border-radius:2px;background:linear-gradient(90deg,#216094,#D4B56A);margin:0 0 22px}
.avx-center .hom-rule,.hom-rule.center{margin-left:auto;margin-right:auto}
/* Card variants: gold or logo-blue top border instead of amber */
.avx-eng-card.hom-gold-top{border-top-color:#D4B56A}
.avx-eng-card.hom-blue-top{border-top-color:#216094}
.avx-eng-card .avx-tag{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#216094;margin:0 0 10px}
/* Numbered roadmap steps (01, 02 ...) with a HOM gold number */
.hom-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.hom-step{background:#fff;border-radius:12px;padding:30px;box-shadow:0 1px 2px rgba(10,37,64,.06),0 8px 24px rgba(10,37,64,.06)}
.hom-step .n{font-size:15px;font-weight:700;letter-spacing:.1em;color:#D4B56A;margin:0 0 10px;padding:0}
.hom-step h3{font-size:21px!important;color:#1B2B3C!important;margin:0 0 10px!important;padding:0!important}
.hom-step p{font-size:16px;line-height:1.65;color:#4A5868;margin:0}
@media (max-width:980px){.hom-steps{grid-template-columns:1fr}}
@media (min-width:981px) and (max-width:1180px){.hom-steps{grid-template-columns:repeat(2,1fr)}}
/* Gold chip variant */
.avx-chip.hom-chip-gold{background:#F6EFDD;color:#0A2540}
