/* Save On Toners contact page — all rules are safely scoped. */
.sot-contact-page {
    --sot-cyan: #00aeef;
    --sot-cyan-dark: #008dbf;
    --sot-yellow: #ffd500;
    --sot-magenta: #ec1c74;
    --sot-navy: #082a45;
    --sot-ink: #152536;
    --sot-muted: #5d6d7c;
    --sot-line: #dce6ed;
    --sot-soft: #f4f8fb;
    box-sizing: border-box;
    width: min(1280px, calc(100% - 32px));
    margin: 32px auto 64px;
    color: var(--sot-ink);
    font-size: 16px;
    line-height: 1.65;
}
/* Emporium limits .contact-page to 800px. Override that theme rule while
   keeping this page aligned to the site's normal content container. */
.page.contact-page.sot-contact-page {
    width: 100%;
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
}
.sot-contact-page *, .sot-contact-page *::before, .sot-contact-page *::after { box-sizing: border-box; }
.sot-contact-page .page-body { margin: 0; }
.sot-contact-page h1, .sot-contact-page h2, .sot-contact-page p { margin-top: 0; }
.sot-contact-page h1 { margin-bottom: 22px; color: var(--sot-navy); font-size: clamp(34px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -.035em; }
.sot-contact-page h2 { margin-bottom: 14px; color: var(--sot-navy); font-size: clamp(25px, 2.5vw, 34px); line-height: 1.2; }
.sot-contact-page a { color: var(--sot-cyan-dark); }
.sot-contact-page .sot-topic-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 22px; padding: 7px; border: 1px solid var(--sot-line); border-radius: 999px; background: #fff; box-shadow: 0 8px 28px rgba(8,42,69,.06); }
.sot-contact-page .sot-topic-nav a { padding: 8px 16px; border-radius: 999px; color: #45596b; font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.sot-contact-page .sot-topic-nav a:hover { background: var(--sot-soft); color: var(--sot-navy); }
.sot-contact-page .sot-topic-nav a.is-current { background: var(--sot-navy); color: #fff; }
.sot-contact-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: clamp(36px, 7vw, 90px); align-items: center; overflow: hidden; padding: clamp(42px, 7vw, 86px); border: 1px solid #d7eaf4; border-radius: 22px; background: linear-gradient(125deg, #effaff 0%, #fff 58%, #fffbe2 100%); }
.sot-contact-hero::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--sot-cyan) 0 47%, var(--sot-yellow) 47% 74%, var(--sot-magenta) 74%); }
.sot-contact-hero-copy > p { max-width: 720px; margin-bottom: 0; color: #526678; font-size: 18px; }
.sot-contact-eyebrow { display: block; margin-bottom: 13px; color: var(--sot-cyan-dark); font-size: 12px; font-weight: 800; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; }
.sot-contact-direct { position: relative; padding: 28px; border-radius: 17px; background: var(--sot-navy); box-shadow: 0 18px 40px rgba(8,42,69,.18); }
.sot-contact-direct-label { display: block; margin-bottom: 16px; color: var(--sot-yellow); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sot-contact-direct > a { display: flex; gap: 13px; align-items: center; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.13); color: #fff; text-decoration: none; }
.sot-contact-direct > a:hover strong { color: var(--sot-yellow); }
.sot-contact-direct small, .sot-contact-direct strong { display: block; }
.sot-contact-direct small { color: #a9c5d8; font-size: 12px; }
.sot-contact-direct strong { overflow-wrap: anywhere; font-size: 16px; transition: color .15s ease; }
.sot-contact-icon { display: inline-flex; flex: 0 0 38px; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,174,239,.16); color: var(--sot-cyan); }
.sot-contact-content { display: grid; grid-template-columns: minmax(270px, .65fr) minmax(0, 1.35fr); gap: clamp(30px, 6vw, 76px); align-items: start; padding-top: clamp(50px, 7vw, 82px); }
.sot-contact-guide { padding: 12px 0; }
.sot-contact-guide > p { color: var(--sot-muted); }
.sot-contact-guide ul { margin: 30px 0 0; padding: 0; list-style: none; }
.sot-contact-guide li { position: relative; padding: 20px 0 20px 34px; border-top: 1px solid var(--sot-line); }
.sot-contact-guide li::before { content: "\2713"; position: absolute; top: 19px; left: 2px; color: var(--sot-cyan); font-weight: 900; }
.sot-contact-guide li strong, .sot-contact-guide li span { display: block; }
.sot-contact-guide li strong { color: var(--sot-navy); }
.sot-contact-guide li span { margin-top: 3px; color: var(--sot-muted); font-size: 14px; }
.sot-contact-hours { margin-top: 24px; padding: 18px 20px; border-left: 4px solid var(--sot-yellow); border-radius: 0 8px 8px 0; background: #fffbea; }
.sot-contact-hours strong, .sot-contact-hours span { display: block; }
.sot-contact-hours span { color: var(--sot-muted); font-size: 13px; }
.sot-contact-form-card { padding: clamp(26px, 4vw, 46px); border: 1px solid var(--sot-line); border-radius: 17px; background: #fff; box-shadow: 0 14px 42px rgba(8,42,69,.08); text-align: left; }
.sot-contact-form-heading { margin-bottom: 28px; }
.sot-contact-form-heading > p { margin-bottom: 0; color: var(--sot-muted); font-size: 13px; }
.sot-contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sot-contact-field-full { grid-column: 1 / -1; }
.sot-contact-field label { display: block; margin: 0 0 7px; color: var(--sot-navy); font-size: 13px; font-weight: 800; }
.sot-contact-field label span { color: var(--sot-magenta); }
.sot-contact-page .sot-contact-field input, .sot-contact-page .sot-contact-field textarea { display: block; width: 100%; height: 48px; margin: 0; padding: 11px 13px; border: 1px solid #ccd9e2; border-radius: 6px; background: #fff; color: var(--sot-ink); font: inherit; font-size: 14px; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.sot-contact-page .sot-contact-field textarea { height: auto; min-height: 160px; resize: vertical; }
.sot-contact-page .sot-contact-field input:focus, .sot-contact-page .sot-contact-field textarea:focus { border-color: var(--sot-cyan); box-shadow: 0 0 0 3px rgba(0,174,239,.13); }
.sot-contact-page .field-validation-error { display: block; margin-top: 5px; color: #b42318; font-size: 12px; }
.sot-contact-page .message-error { margin-bottom: 20px; color: #b42318; }
.sot-contact-page .captcha-box { margin-top: 24px; }
.sot-contact-submit { display: flex; gap: 20px; align-items: center; margin-top: 26px; }
.sot-contact-submit > span { max-width: 380px; color: var(--sot-muted); font-size: 12px; line-height: 1.5; }
.sot-contact-page .sot-contact-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 25px; border: 0; border-radius: 6px; background: var(--sot-cyan); color: #fff; font-size: 13px; font-weight: 800; line-height: 1.3; text-decoration: none; text-transform: uppercase; box-shadow: 0 8px 20px rgba(0,174,239,.22); cursor: pointer; }
.sot-contact-page .sot-contact-button:hover { background: var(--sot-cyan-dark); }
.sot-contact-success { padding: clamp(30px, 5vw, 58px) 20px; text-align: center; }
.sot-contact-success > span { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50%; background: #e6f9f0; color: #14804a; font-size: 25px; }
.sot-contact-success p { margin-bottom: 26px; color: var(--sot-muted); }
@media (max-width: 800px) {
    .page.contact-page.sot-contact-page { width: calc(100% - 20px); margin-top: 18px; }
    .sot-contact-page .sot-topic-nav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; border-radius: 10px; scrollbar-width: thin; }
    .sot-contact-page .sot-topic-nav a { flex: 0 0 auto; }
    .sot-contact-hero, .sot-contact-content { grid-template-columns: 1fr; }
    .sot-contact-hero { gap: 30px; padding: 38px 24px 26px; border-radius: 14px; }
    .sot-contact-content { padding-top: 44px; }
    .sot-contact-form-card { border-radius: 13px; }
}
@media (max-width: 520px) {
    .sot-contact-page h1 { font-size: 34px; }
    .sot-contact-hero-copy > p { font-size: 16px; }
    .sot-contact-fields { grid-template-columns: 1fr; }
    .sot-contact-field-full { grid-column: auto; }
    .sot-contact-submit { display: block; }
    .sot-contact-page .sot-contact-button { width: 100%; }
    .sot-contact-submit > span { display: block; margin-top: 14px; }
}
