/* =========================================
   TONY'S PLUMBING CO.
   ERROR PAGE
   ========================================= */
:root {
--navy: #08263d;
--navy-dark: #041b2b;
--blue: #0879bd;
--blue-dark: #065f94;
--blue-light: #eaf5fc;
--text: #263746;
--muted: #6c7b87;
--white: #ffffff;
--border: #dfe7ec;
--background: #f5f8fa;
--error: #d9534f;
--shadow: 0 12px 35px rgba(8, 38, 61, 0.12);
--radius: 12px;
}
/* =========================================
   RESET
   ========================================= */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    background: var(--background);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
}
/* =========================================
   LINKS
   ========================================= */
a {
    text-decoration: none;
    cursor: url('https://tonysplumbingco.com/images/treepointerTPC.png'), auto;
}
/* =========================================
   HEADER
   ========================================= */
.site-header {
    background: var(--navy);
    color: var(--white);
    border-bottom: 4px solid var(--blue);
}
.header-inner {
    max-width: 1400px;
    min-height: 100px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
}
.brand img {
    display: block;
    width: 119px;
    height: 90px;
    object-fit: contain;
}
.brand-text {
    display: flex;
    flex-direction: column;
}
.brand-text strong {
    font-size: 1.5rem;
    line-height: 1.2;
}
.brand-text small {
    margin-top: 5px;
    color: #d7e7f1;
    font-size: 0.9rem;
}
.phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}
.phone span {
    margin-bottom: 3px;
    color: #b9d8ea;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
/* =========================================
   ERROR AREA
   ========================================= */
.error-section {
    min-height: calc(100vh - 180px);
    padding: 70px 20px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient( circle at top, #ffffff 0%, var(--background) 65% );
}
.error-card {
    width: min(850px, 100%);
    padding: 55px 50px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    animation: fadeIn 0.7s ease-out;
}
/* =========================================
   OOPS IMAGE
   ========================================= */
.error-logo {
    margin-bottom: 25px;
}
.error-logo img {
    display: block;
    width: min(740px, 90%);
    height: auto;
    margin: 0 auto;
}
/* =========================================
   ERROR NUMBER
   ========================================= */
.error-title {
    margin: 10px 0 15px;
    color: var(--error);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    font-weight: 700;
}
/* =========================================
   ERROR MESSAGE
   ========================================= */
.error-message {
    max-width: 650px;
    margin: 0 auto 30px;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.7;
}
/* =========================================
   BUTTON
   ========================================= */
.error-button {
    display: inline-block;
    padding: 13px 28px;
    background: var(--blue);
    color: var(--white);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    cursor: url('https://tonysplumbingco.com/images/treepointerTPC.png'), auto;
}
.error-button:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(8, 121, 189, 0.25);
}
.error-button:focus-visible {
outline: 3px solid #f5a623;
outline-offset: 3px;
}
/* =========================================
   SMALL HELPER TEXT
   ========================================= */
.error-help {
    margin-top: 25px;
    color: var(--muted);
    font-size: 0.9rem;
}
/* =========================================
   FOOTER
   ========================================= */
footer {
    padding: 22px 20px;
    background: var(--navy-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #aebbc4;
    text-align: center;
    font-size: 0.85rem;
}
footer a {
    color: #c8e4f4;
}
footer a:hover {
    color: var(--white);
    text-decoration: underline;
}
/* =========================================
   ANIMATION
   ========================================= */

@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(15px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* =========================================
   TABLET
   ========================================= */

@media (max-width: 800px) {
.header-inner {
    padding: 0 20px;
}
.brand-text strong {
    font-size: 1.25rem;
}
.phone {
    font-size: 1.05rem;
}
.error-section {
    padding: 50px 18px 60px;
}
.error-card {
    padding: 45px 30px;
}
}
/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 540px) {
.header-inner {
    min-height: auto;
    padding: 12px 15px;
    flex-direction: column;
    gap: 8px;
}
.brand {
    gap: 10px;
}
.brand img {
    width: 85px;
    height: 65px;
}
.brand-text {
    text-align: left;
}
.brand-text strong {
    font-size: 1.15rem;
}
.brand-text small {
    font-size: 0.75rem;
}
.phone {
    align-items: center;
    font-size: 1rem;
    padding-bottom: 8px;
}
.error-section {
    min-height: calc(100vh - 160px);
    padding: 35px 15px 45px;
}
.error-card {
    padding: 35px 20px;
    border-radius: 10px;
}
.error-logo img {
    width: 95%;
}
.error-title {
    font-size: 2.7rem;
}
.error-message {
    font-size: 1rem;
}
.error-button {
    width: 100%;
    max-width: 280px;
}
footer {
    font-size: 0.8rem;
    line-height: 1.7;
}
}