/* =============================================
   DrainTeck Design System
   ============================================= */

/* --- CSS Variables --- */
:root {
    --dt-navy:        #0d2137;
    --dt-navy-light:  #1a3a5c;
    --dt-blue:        #1565c0;
    --dt-blue-light:  #1e88e5;
    --dt-cyan:        #00b4d8;
    --dt-orange:      #ff6b35;
    --dt-orange-dark: #e55a25;
    --dt-light:       #f5f7fa;
    --dt-white:       #ffffff;
    --dt-text:        #2d3748;
    --dt-text-muted:  #718096;
    --dt-border:      #e2e8f0;
    --dt-shadow:      0 4px 20px rgba(0,0,0,0.08);
    --dt-shadow-lg:   0 8px 32px rgba(0,0,0,0.14);
    --dt-radius:      12px;
    --dt-radius-lg:   20px;
    --font-head:      'Poppins', 'Helvetica Neue', Arial, sans-serif;
    --font-body:      'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
    font-family: var(--font-body);
    color: var(--dt-text);
    background: var(--dt-white);
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
}

a { color: var(--dt-blue); text-decoration: none; }
a:hover { color: var(--dt-blue-light); }

/* =============================================
   NAVIGATION
   ============================================= */
.dt-navbar {
    background: rgba(13, 33, 55, 0.98);
    backdrop-filter: blur(10px);
    padding: 0.55rem 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.dt-brand { font-family: var(--font-head); font-size: 1.65rem; font-weight: 800; letter-spacing: -0.5px; text-decoration: none; }
.brand-drain { color: var(--dt-white); }
.brand-teck  { color: var(--dt-cyan); }
.dt-navbar .nav-link { color: rgba(255,255,255,0.8) !important; font-weight: 500; font-size: 0.95rem; padding: 0.5rem 1rem !important; position: relative; transition: color 0.2s ease; }
.dt-navbar .nav-link::after { content: ''; position: absolute; bottom: 2px; left: 1rem; right: 1rem; height: 2px; background: var(--dt-cyan); transform: scaleX(0); transition: transform 0.25s ease; border-radius: 2px; }
.dt-navbar .nav-link:hover, .dt-navbar .nav-link.active { color: var(--dt-white) !important; }
.dt-navbar .nav-link:hover::after, .dt-navbar .nav-link.active::after { transform: scaleX(1); }
.btn-call { background: var(--dt-orange); color: var(--dt-white) !important; border: none; border-radius: 50px; padding: 0.5rem 1.35rem; font-weight: 600; font-size: 0.9rem; transition: all 0.2s ease; white-space: nowrap; text-decoration: none; display: inline-block; }
.btn-call:hover { background: var(--dt-orange-dark); color: var(--dt-white) !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,107,53,0.45); }

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary-dt { background: var(--dt-orange); color: var(--dt-white); border: 2px solid var(--dt-orange); border-radius: 50px; padding: 0.7rem 1.75rem; font-weight: 600; font-family: var(--font-head); transition: all 0.25s ease; display: inline-block; text-decoration: none; }
.btn-primary-dt:hover { background: var(--dt-orange-dark); border-color: var(--dt-orange-dark); color: var(--dt-white); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(255,107,53,0.4); }
.btn-outline-dt { background: transparent; color: var(--dt-white); border: 2px solid rgba(255,255,255,0.5); border-radius: 50px; padding: 0.7rem 1.75rem; font-weight: 600; font-family: var(--font-head); transition: all 0.25s ease; display: inline-block; text-decoration: none; }
.btn-outline-dt:hover { background: rgba(255,255,255,0.12); border-color: var(--dt-white); color: var(--dt-white); transform: translateY(-2px); }
.btn-outline-navy { background: transparent; color: var(--dt-navy); border: 2px solid var(--dt-navy); border-radius: 50px; padding: 0.65rem 1.5rem; font-weight: 600; font-family: var(--font-head); transition: all 0.25s ease; display: inline-block; text-decoration: none; }
.btn-outline-navy:hover { background: var(--dt-navy); color: var(--dt-white); transform: translateY(-2px); }
.btn-white-dt { background: var(--dt-white); color: var(--dt-navy); border: 2px solid var(--dt-white); border-radius: 50px; padding: 0.7rem 1.75rem; font-weight: 700; font-family: var(--font-head); transition: all 0.25s ease; display: inline-block; text-decoration: none; }
.btn-white-dt:hover { background: var(--dt-light); color: var(--dt-navy); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,255,255,0.3); }
.btn-outline-white-dt { background: transparent; color: var(--dt-white); border: 2px solid rgba(255,255,255,0.55); border-radius: 50px; padding: 0.7rem 1.75rem; font-weight: 600; font-family: var(--font-head); transition: all 0.25s ease; display: inline-block; text-decoration: none; }
.btn-outline-white-dt:hover { background: rgba(255,255,255,0.12); border-color: var(--dt-white); color: var(--dt-white); transform: translateY(-2px); }

/* =============================================
   HERO SECTION
   ============================================= */
.dt-hero { position: relative; background: linear-gradient(135deg, var(--dt-navy) 0%, var(--dt-navy-light) 55%, #0e4d8a 100%); overflow: hidden; min-height: 88vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 40%, rgba(0,180,216,0.14) 0%, transparent 55%), radial-gradient(ellipse at 15% 80%, rgba(21,101,192,0.18) 0%, transparent 50%); }
.hero-bg::before { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(0,180,216,0.1) 0%, transparent 70%); top: 8%; right: 12%; animation: dtFloat 7s ease-in-out infinite; }
.hero-bg::after { content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,53,0.07) 0%, transparent 70%); bottom: 18%; right: 28%; animation: dtFloat 9s ease-in-out infinite reverse; }
@keyframes dtFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.hero-content { position: relative; z-index: 2; padding: 5rem 0 6.5rem; }
.hero-badge { display: inline-flex; align-items: center; background: rgba(0,180,216,0.12); border: 1px solid rgba(0,180,216,0.28); color: var(--dt-cyan); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem; }
.hero-title { font-size: clamp(2.5rem, 5.5vw, 4.2rem); color: var(--dt-white); line-height: 1.12; margin-bottom: 1.25rem; }
.text-accent { color: var(--dt-cyan); }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.72); max-width: 520px; margin-bottom: 2rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; }

/* =============================================
   TRUST BAR
   ============================================= */
.dt-trust-bar { background: var(--dt-light); padding: 1.5rem 0; border-bottom: 1px solid var(--dt-border); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 0.6rem; font-weight: 600; font-size: 0.875rem; color: var(--dt-navy); }
.trust-item i { color: var(--dt-orange); font-size: 1rem; }

/* =============================================
   SECTION UTILITIES
   ============================================= */
.section-pad { padding: 5rem 0; }
.bg-light-section { background: var(--dt-light); }
.section-label { display: inline-block; color: var(--dt-orange); font-weight: 700; font-size: 0.75rem; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 0.5rem; }
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.6rem); color: var(--dt-navy); line-height: 1.2; margin-bottom: 1rem; }
.section-subtitle { color: var(--dt-text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; line-height: 1.75; }
.section-header { margin-bottom: 1rem; }
.section-divider { border: none; border-top: 1px solid var(--dt-border); margin: 0; }

/* =============================================
   SERVICE CARDS
   ============================================= */
.service-card { display: flex; flex-direction: column; background: var(--dt-white); border: 1px solid var(--dt-border); border-radius: var(--dt-radius-lg); padding: 2rem; text-decoration: none; color: var(--dt-text); transition: all 0.3s ease; height: 100%; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--dt-blue), var(--dt-cyan)); transform: scaleX(0); transition: transform 0.3s ease; }
.service-card:hover { border-color: transparent; box-shadow: var(--dt-shadow-lg); transform: translateY(-5px); color: var(--dt-text); }
.service-card:hover::before { transform: scaleX(1); }
.service-card--featured { border-color: var(--dt-blue); box-shadow: 0 4px 26px rgba(21,101,192,0.12); }
.service-card--featured::before { transform: scaleX(1); }
.service-badge-feat { display: inline-block; background: var(--dt-blue); color: var(--dt-white); font-size: 0.68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 0.2rem 0.65rem; border-radius: 4px; margin-bottom: 1rem; }
.service-icon { width: 58px; height: 58px; background: linear-gradient(135deg, var(--dt-blue) 0%, var(--dt-cyan) 100%); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--dt-white); font-size: 1.35rem; margin-bottom: 1.25rem; flex-shrink: 0; }
.service-card h3 { font-size: 1.15rem; color: var(--dt-navy); margin-bottom: 0.6rem; }
.service-card p  { color: var(--dt-text-muted); font-size: 0.93rem; line-height: 1.68; margin-bottom: 1.25rem; flex-grow: 1; }
.service-link { color: var(--dt-blue); font-weight: 600; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 0.25rem; margin-top: auto; transition: color 0.2s ease; }
.service-card:hover .service-link { color: var(--dt-orange); }

/* =============================================
   WHY DRAINTECK
   ============================================= */
.why-graphic { position: relative; height: 360px; border-radius: var(--dt-radius-lg); overflow: hidden; background: linear-gradient(135deg, var(--dt-navy) 0%, var(--dt-navy-light) 100%); }
.why-stats { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; padding: 2rem; }
.stat-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--dt-radius); padding: 1rem 1.5rem; text-align: center; width: 100%; max-width: 210px; }
.stat-card--accent { background: linear-gradient(135deg, var(--dt-orange) 0%, #ff8c5a 100%); border-color: transparent; }
.stat-number { display: block; font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--dt-white); line-height: 1; }
.stat-unit { font-size: 1rem; font-weight: 600; }
.stat-label { display: block; color: rgba(255,255,255,0.65); font-size: 0.78rem; font-weight: 500; margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.5px; }
.why-features { display: flex; flex-direction: column; gap: 1.25rem; }
.why-feature { display: flex; gap: 1rem; align-items: flex-start; }
.why-feature-icon { width: 28px; height: 28px; background: var(--dt-orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dt-white); font-size: 0.68rem; flex-shrink: 0; margin-top: 3px; }
.why-feature strong { display: block; color: var(--dt-navy); margin-bottom: 0.15rem; }
.why-feature p { color: var(--dt-text-muted); font-size: 0.9rem; margin: 0; line-height: 1.55; }

/* =============================================
   CTA BANNER
   ============================================= */
.dt-cta-banner { background: linear-gradient(135deg, var(--dt-navy) 0%, #0e5aa8 100%); padding: 5rem 2rem; position: relative; overflow: hidden; text-align: center; }
.dt-cta-banner::before { content: ''; position: absolute; top: -60%; right: -8%; width: 420px; height: 420px; border-radius: 50%; background: rgba(0,180,216,0.07); pointer-events: none; }
.dt-cta-banner h2 { color: var(--dt-white); font-size: clamp(1.75rem, 3.5vw, 2.6rem); margin-bottom: 0.75rem; position: relative; }
.dt-cta-banner p  { color: rgba(255,255,255,0.78); font-size: 1.1rem; margin-bottom: 2rem; position: relative; }

/* =============================================
   SERVICE AREA CHIPS
   ============================================= */
.area-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2rem; }
.area-chip { background: var(--dt-white); border: 1px solid var(--dt-border); border-radius: 50px; padding: 0.45rem 1.1rem; font-size: 0.875rem; font-weight: 500; color: var(--dt-navy); transition: all 0.2s ease; box-shadow: var(--dt-shadow); cursor: default; }
.area-chip:hover { background: var(--dt-navy); color: var(--dt-white); border-color: var(--dt-navy); transform: translateY(-2px); }
.area-chip i { color: var(--dt-orange); }
.area-chip:hover i { color: var(--dt-cyan); }

/* =============================================
   PAGE HEADER
   ============================================= */
.dt-page-header { background: linear-gradient(135deg, var(--dt-navy) 0%, var(--dt-navy-light) 100%); padding: 4rem 0 5rem; text-align: center; position: relative; overflow: hidden; }
.dt-page-header::before { content: ''; position: absolute; top: -60%; left: -8%; width: 380px; height: 380px; border-radius: 50%; background: rgba(0,180,216,0.06); pointer-events: none; }
.dt-page-header h1 { color: var(--dt-white); font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 0.5rem; position: relative; }
.dt-page-header p  { color: rgba(255,255,255,0.72); font-size: 1.1rem; margin: 0; position: relative; }
.page-header-wave  { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.page-header-wave svg { width: 100%; height: 60px; }

/* =============================================
   SERVICES DETAIL PAGE
   ============================================= */
.service-detail-icon { width: 76px; height: 76px; background: linear-gradient(135deg, var(--dt-blue) 0%, var(--dt-cyan) 100%); border-radius: 20px; display: flex; align-items: center; justify-content: center; color: var(--dt-white); margin-bottom: 1.5rem; }
.service-detail-icon--alt   { background: linear-gradient(135deg, var(--dt-navy) 0%, var(--dt-blue) 100%); }
.service-detail-icon--green { background: linear-gradient(135deg, #1a7a43 0%, #27ae60 100%); }
.service-detail-list { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.6rem; }
.service-detail-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: var(--dt-text); }
.service-detail-list li i { color: var(--dt-orange); flex-shrink: 0; }
.service-detail-visual { border-radius: var(--dt-radius-lg); height: 360px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.routine-visual     { background: linear-gradient(135deg, var(--dt-navy) 0%, #0e4d8a 100%); }
.residential-visual { background: linear-gradient(135deg, #0d3b6e 0%, var(--dt-navy-light) 100%); }
.commercial-visual  { background: linear-gradient(135deg, #1b3a2a 0%, #1b6e43 100%); }
.visual-icon-bg { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: 50%; width: 160px; height: 160px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.25); }
.visual-icon-bg--blue   { color: rgba(0,180,216,0.4); }
.visual-icon-bg--orange { color: rgba(255,107,53,0.4); }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.about-value { background: var(--dt-white); border: 1px solid var(--dt-border); border-radius: var(--dt-radius); padding: 1.5rem; text-align: center; transition: all 0.3s ease; }
.about-value:hover { box-shadow: var(--dt-shadow-lg); transform: translateY(-4px); border-color: var(--dt-blue); }
.about-value i { font-size: 1.75rem; color: var(--dt-blue); margin-bottom: 0.75rem; display: block; }
.about-value h4 { font-size: 1rem; color: var(--dt-navy); margin-bottom: 0.3rem; }
.about-value p  { font-size: 0.85rem; color: var(--dt-text-muted); margin: 0; }
.commitment-card { background: var(--dt-white); border-radius: var(--dt-radius-lg); padding: 2rem; border: 1px solid var(--dt-border); text-align: center; transition: all 0.3s ease; height: 100%; }
.commitment-card:hover { box-shadow: var(--dt-shadow-lg); transform: translateY(-4px); }
.commitment-number { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: var(--dt-border); line-height: 1; margin-bottom: 0.5rem; }
.commitment-card h4 { color: var(--dt-navy); margin-bottom: 0.5rem; }
.commitment-card p  { color: var(--dt-text-muted); font-size: 0.9rem; margin: 0; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section-title { font-size: 1.5rem; color: var(--dt-navy); margin-bottom: 0.75rem; }
.contact-info-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-item  { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--dt-blue) 0%, var(--dt-cyan) 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--dt-white); flex-shrink: 0; font-size: 0.95rem; }
.contact-info-label { display: block; font-size: 0.72rem; color: var(--dt-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.15rem; }
.contact-info-value { display: block; color: var(--dt-navy); font-weight: 600; font-size: 1rem; }
a.contact-info-value:hover { color: var(--dt-blue); }
.contact-social-btn { display: inline-flex; align-items: center; background: #1877f2; color: var(--dt-white); padding: 0.6rem 1.25rem; border-radius: 8px; font-weight: 600; font-size: 0.9rem; transition: all 0.2s ease; text-decoration: none; }
.contact-social-btn:hover { background: #145dbf; color: var(--dt-white); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(24,119,242,0.35); }
.contact-form-card { background: var(--dt-white); border: 1px solid var(--dt-border); border-radius: var(--dt-radius-lg); padding: 2.5rem; box-shadow: var(--dt-shadow); }
.dt-input { border: 1.5px solid var(--dt-border); border-radius: 10px; padding: 0.72rem 1rem; font-size: 0.95rem; color: var(--dt-text); transition: all 0.2s ease; width: 100%; }
.dt-input:focus { border-color: var(--dt-blue); box-shadow: 0 0 0 3px rgba(21,101,192,0.1); outline: none; }
.dt-validation { color: #dc3545; font-size: 0.8rem; margin-top: 0.3rem; display: block; }
.contact-success { background: linear-gradient(135deg, #0a3d1a 0%, #1b6e43 100%); border-radius: var(--dt-radius-lg); padding: 3rem 2rem; text-align: center; color: var(--dt-white); min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.contact-success i { color: #4ade80; }
.contact-success h3 { font-size: 1.75rem; margin: 1rem 0 0.5rem; }
.contact-success p  { color: rgba(255,255,255,0.78); margin-bottom: 0; }

/* =============================================
   FOOTER
   ============================================= */
.dt-footer { background: var(--dt-navy); padding: 4rem 0 0; }
.footer-logo { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--dt-white); margin-bottom: 1rem; }
.footer-logo span { color: var(--dt-cyan); }
.dt-footer p { color: rgba(255,255,255,0.58); font-size: 0.88rem; line-height: 1.7; }
.footer-heading { color: var(--dt-white); font-size: 0.78rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links li a { color: rgba(255,255,255,0.58); font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links li a:hover { color: var(--dt-cyan); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-contact li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.footer-contact li i { color: var(--dt-orange); width: 16px; text-align: center; flex-shrink: 0; }
.footer-contact li a { color: rgba(255,255,255,0.72); transition: color 0.2s ease; }
.footer-contact li a:hover { color: var(--dt-cyan); }
.footer-contact li span { color: rgba(255,255,255,0.72); }
.social-links { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-links a { width: 38px; height: 38px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); font-size: 0.85rem; transition: all 0.2s ease; text-decoration: none; }
.social-links a:hover { background: var(--dt-blue); border-color: var(--dt-blue); color: var(--dt-white); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 1.25rem 0; margin-top: 3rem; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.83rem; margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.45); font-size: 0.83rem; transition: color 0.2s ease; }
.footer-bottom a:hover { color: var(--dt-cyan); }

/* =============================================
   BLAZOR + VALIDATION
   ============================================= */
#blazor-error-ui { background: #b32121; bottom: 0; display: none; left: 0; padding: 0.6rem 1.25rem 0.7rem; position: fixed; width: 100%; z-index: 2000; color: white; font-size: 0.9rem; box-shadow: 0 -1px 2px rgba(0,0,0,0.2); }
#blazor-error-ui .dismiss { cursor: pointer; float: right; }
.form-label { font-weight: 500; font-size: 0.875rem; color: var(--dt-text); margin-bottom: 0.4rem; }
.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }
.invalid { outline: 1px solid #e50000; }
.validation-message { color: #e50000; font-size: 0.82rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
    .dt-navbar .navbar-collapse { background: rgba(13,33,55,0.98); padding: 1rem 0.5rem; border-radius: 0 0 var(--dt-radius) var(--dt-radius); margin-top: 0.5rem; border-top: 1px solid rgba(255,255,255,0.08); }
    .navbar-cta { margin-top: 0.75rem; padding-bottom: 0.5rem; }
    .why-graphic { height: 280px; }
}
@media (max-width: 575.98px) {
    .section-pad { padding: 3.5rem 0; }
    .dt-hero { min-height: auto; }
    .hero-content { padding: 3.5rem 0 5rem; }
    .hero-title { font-size: 2.1rem; }
    .hero-badge { font-size: 0.78rem; }
    .trust-item { flex-direction: column; gap: 0.3rem; text-align: center; font-size: 0.82rem; }
    .contact-form-card { padding: 1.5rem; }
    .dt-cta-banner { padding: 3.5rem 1.5rem; }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

/* =============================================
   NAVBAR — LOGO + NEW BUTTONS
   ============================================= */
.dt-nav-logo {
    height: 60px;
    background: #fff;
    border-radius: 10px;
    padding: 4px 10px;
    display: block;
}
.nav-link-highlight { color: var(--dt-cyan) !important; font-weight: 600; }
.nav-link-highlight:hover { color: #fff !important; }

.btn-schedule {
    background: transparent;
    border: 2px solid var(--dt-cyan);
    color: var(--dt-cyan);
    padding: .42rem 1.1rem;
    border-radius: 50px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .85rem;
    transition: all .25s ease;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.btn-schedule:hover {
    background: var(--dt-cyan);
    color: var(--dt-navy);
}

/* =============================================
   MUDBLAZOR OVERRIDES
   ============================================= */
.mud-input-outlined .mud-input-outlined-border { border-radius: 10px !important; }
.mud-button-root.mud-button { font-family: var(--font-head); }

/* =============================================
   SCHEDULE PAGE
   ============================================= */
.schedule-section { min-height: 60vh; }

/* Step Indicator */
.schedule-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
}
.schedule-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}
.step-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.step-active .step-circle  { background: var(--dt-blue);  color: #fff; box-shadow: 0 0 0 4px rgba(21,101,192,0.18); }
.step-done   .step-circle  { background: var(--dt-cyan);  color: var(--dt-navy); }
.step-pending .step-circle { background: #e2e8f0; color: var(--dt-text-muted); }
.step-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }
.step-active .step-label  { color: var(--dt-blue); }
.step-done   .step-label  { color: var(--dt-cyan); }
.step-pending .step-label { color: var(--dt-text-muted); }
.step-connector {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 0.6rem;
    margin-bottom: 1.6rem;
    transition: background 0.3s ease;
    min-width: 32px;
}
.connector-done { background: var(--dt-cyan); }

/* Schedule Card */
.schedule-card {
    background: #fff;
    border: 1px solid var(--dt-border);
    border-radius: var(--dt-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--dt-shadow);
}
.schedule-card-title    { font-size: 1.5rem; color: var(--dt-navy); margin-bottom: 0.35rem; }
.schedule-card-subtitle { color: var(--dt-text-muted); margin-bottom: 1.75rem; font-size: 0.95rem; }

/* Service Select Grid */
.service-select-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
}
.service-select-card {
    border: 2px solid var(--dt-border);
    border-radius: var(--dt-radius);
    padding: 1.2rem 0.6rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    color: var(--dt-text-muted);
    background: #fff;
    user-select: none;
}
.service-select-card i    { font-size: 1.65rem; color: var(--dt-blue-light); transition: color 0.2s; }
.service-select-card span { font-size: 0.78rem; font-weight: 600; line-height: 1.3; }
.service-select-card:hover        { border-color: var(--dt-blue); transform: translateY(-2px); box-shadow: var(--dt-shadow); }
.service-select-card.selected     { border-color: var(--dt-blue); background: rgba(21,101,192,0.07); color: var(--dt-navy); }
.service-select-card.selected i   { color: var(--dt-blue); }

/* Time Chips */
.time-grid  { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 0.5rem; }
.time-chip  {
    border: 2px solid var(--dt-border);
    border-radius: 50px;
    padding: 0.48rem 1.2rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--dt-text);
    background: #fff;
    user-select: none;
}
.time-chip:hover          { border-color: var(--dt-blue); color: var(--dt-blue); }
.time-chip.selected       { background: var(--dt-blue); border-color: var(--dt-blue); color: #fff; }

/* Step navigation buttons row */
.schedule-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.schedule-nav-both { justify-content: space-between; }

/* Success State */
.schedule-success {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 580px;
    margin: 0 auto;
}
.success-icon      { font-size: 5rem; color: var(--dt-cyan); margin-bottom: 1.25rem; line-height: 1; }
.schedule-success h2 { font-size: 2rem; color: var(--dt-navy); margin-bottom: 1rem; }
.schedule-success p  { color: var(--dt-text-muted); font-size: 1rem; margin-bottom: 0.5rem; }

/* =============================================
   QUOTE PAGE
   ============================================= */
.quote-section       { margin-bottom: 2.25rem; }
.quote-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--dt-navy);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--dt-border);
}
.prop-type-grid { display: flex; gap: 1rem; flex-wrap: wrap; }
.prop-type-card {
    border: 2px solid var(--dt-border);
    border-radius: var(--dt-radius);
    padding: 1.4rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: var(--dt-text-muted);
    background: #fff;
    min-width: 140px;
    user-select: none;
}
.prop-type-card i    { font-size: 2rem; color: var(--dt-blue-light); transition: color 0.2s; }
.prop-type-card span { font-size: 0.95rem; font-weight: 700; }
.prop-type-card:hover       { border-color: var(--dt-blue); transform: translateY(-2px); box-shadow: var(--dt-shadow); }
.prop-type-card.selected    { border-color: var(--dt-blue); background: rgba(21,101,192,0.07); color: var(--dt-navy); }
.prop-type-card.selected i  { color: var(--dt-blue); }

.quote-sidebar {
    background: var(--dt-light);
    border-radius: var(--dt-radius-lg);
    padding: 1.75rem;
    position: sticky;
    top: 90px;
}
.quote-sidebar h5 { color: var(--dt-navy); font-size: 1.1rem; margin-bottom: 1rem; }
.quote-benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.quote-benefits li { font-size: 0.9rem; color: var(--dt-text); }

/* Schedule / Quote responsive */
@media (max-width: 767.98px) {
    .service-select-grid { grid-template-columns: repeat(2, 1fr); }
    .schedule-card        { padding: 1.5rem; }
    .schedule-success     { padding: 2.5rem 1rem; }
    .navbar-cta           { flex-wrap: wrap; }
}
@media (max-width: 575.98px) {
    .service-select-grid  { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .prop-type-grid       { gap: 0.6rem; }
    .prop-type-card       { flex: 1; padding: 1rem; min-width: 0; }
}    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}