/* ==============================================
   Utility Profile Pages — unique design system
   Prefix: up- (utility page)
   ============================================== */

/* ── Hero ── */
.up-hero {
    background: linear-gradient(135deg, #0A2540 0%, #0d3356 50%, #0f4070 100%);
    padding: 20px 0 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.up-hero::after {
    content: '';
    position: absolute;
    top: -60%; right: -20%;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,159,110,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.up-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}
.up-hero-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 20px;
}
.up-hero-breadcrumbs a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-weight: 500;
}
.up-hero-breadcrumbs a:hover { color: #fff; }
.up-hero-breadcrumbs .sep { color: rgba(255,255,255,0.25); }

.up-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.up-hero-badge--tdu {
    background: rgba(14,159,110,0.15);
    color: #34d399;
    border: 1px solid rgba(14,159,110,0.25);
}
.up-hero-badge--edc {
    background: rgba(59,130,246,0.15);
    color: #93c5fd;
    border: 1px solid rgba(59,130,246,0.25);
}
.up-hero h1 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 12px;
}
.up-hero-sub {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    max-width: 640px;
    margin: 0;
}

/* ── Emergency Banner ── */
.up-emergency {
    background: #111827;
    border-bottom: 1px solid #1f2937;
}
.up-emergency-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.up-emergency-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #9ca3af;
}
.up-emergency-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(239,68,68,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.up-emergency-icon i { font-size: 18px; color: #f87171; }
.up-emergency-left strong { color: #f9fafb; font-weight: 700; }
.up-emergency-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: 100px;
    color: #fca5a5;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.up-emergency-phone:hover {
    background: rgba(239,68,68,0.18);
    color: #fecaca;
}
.up-emergency-phone i { font-size: 16px; }

/* ── Page Body ── */
.up-body {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px 80px;
}

/* ── Quick-Reference Cards (top row) ── */
.up-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: -40px 0 56px;
    position: relative;
    z-index: 2;
}
.up-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 28px 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.up-card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 12px;
}
.up-card-value {
    font-size: 20px;
    font-weight: 800;
    color: #0A2540;
    line-height: 1.3;
    margin-bottom: 4px;
}
.up-card-note {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}
.up-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #0E9F6E;
    text-decoration: none;
}
.up-card-link:hover { text-decoration: underline; }

/* ── Section System ── */
.up-section {
    padding: 56px 0;
    border-bottom: 1px solid #f0f0f0;
}
.up-section:last-child { border-bottom: none; }
.up-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0E9F6E;
    margin-bottom: 12px;
}
.up-section-num {
    background: #ecfdf5;
    color: #0E9F6E;
    font-weight: 800;
    width: 22px; height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}
.up-h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0A2540;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 12px;
    padding: 0;
}
.up-section-intro {
    font-size: 16.5px;
    line-height: 1.75;
    color: #4b5563;
    margin: 0 0 28px;
}
.up-section p {
    font-size: 16.5px;
    line-height: 1.75;
    color: #374151;
    margin: 0 0 20px;
}
.up-section p:last-child { margin-bottom: 0; }
.up-section ul {
    padding: 0 0 1em 1.5em;
}
.up-section ul li {
    font-size: 16px;
    line-height: 1.75;
    color: #374151;
    padding: 3px 0;
}
.up-section ul li strong { color: #1f1f1f; }

/* ── Two-Column Layout ── */
.up-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 28px 0;
}
.up-col-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
}
.up-col-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0A2540;
    margin: 0 0 16px;
    padding: 0;
}
.up-col-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* ── Service Area Grid ── */
.up-area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    margin: 20px 0;
}
.up-area-tag {
    background: #f3f4f6;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-align: center;
}

/* ── Delivery Charges Table ── */
.up-charges-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    margin: 20px 0;
}
.up-charges-table thead th {
    background: #f9fafb;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    padding: 14px 20px;
    border-bottom: 2px solid #e5e7eb;
    text-align: left;
}
.up-charges-table thead th:last-child { text-align: right; }
.up-charges-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}
.up-charges-table tbody td:last-child { text-align: right; font-weight: 700; }
.up-charges-table tbody tr:hover { background: #f9fafb; }

/* ── Contact Info Grid ── */
.up-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin: 24px 0;
}
.up-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}
.up-contact-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.up-contact-icon i { font-size: 18px; color: #0E9F6E; }
.up-contact-icon--red { background: #fef2f2; }
.up-contact-icon--red i { color: #ef4444; }
.up-contact-icon--blue { background: #eff6ff; }
.up-contact-icon--blue i { color: #3b82f6; }
.up-contact-info {
    flex: 1;
}
.up-contact-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    margin-bottom: 2px;
}
.up-contact-val {
    font-size: 17px;
    font-weight: 700;
    color: #0A2540;
}
.up-contact-val a {
    color: #0E9F6E;
    text-decoration: none;
}
.up-contact-val a:hover { text-decoration: underline; }

/* ── FAQ ── */
.up-faq { margin: 28px 0; }
.up-faq details { border-bottom: 1px solid #e5e7eb; }
.up-faq details:first-child { border-top: 1px solid #e5e7eb; }
.up-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 4px;
    font-size: 17px;
    font-weight: 600;
    color: #1f1f1f;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
}
.up-faq summary::-webkit-details-marker { display: none; }
.up-faq summary::marker { display: none; content: ''; }
.up-faq summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: #9ca3af;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
    transition: color 0.2s ease;
}
.up-faq summary:hover { color: #047857; }
.up-faq details[open] summary { color: #047857; }
.up-faq details[open] summary::after { content: '\2212'; color: #047857; }
.up-faq-answer {
    padding: 0 4px 24px;
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
}
.up-faq-answer p { margin: 0 0 12px; }
.up-faq-answer p:last-child { margin-bottom: 0; }

/* ── Bottom CTA ── */
.up-cta {
    background: linear-gradient(135deg, #0A2540 0%, #0d3356 100%);
    border-radius: 20px;
    padding: 56px 48px;
    text-align: center;
    margin-top: 56px;
}
.up-cta h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    padding: 0;
    letter-spacing: -0.02em;
}
.up-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    margin: 0 0 28px;
}
.up-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #0E9F6E;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.up-cta-btn:hover {
    background: #0C8C60;
    box-shadow: 0 4px 20px rgba(14,159,110,0.35);
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .up-cards { grid-template-columns: 1fr; margin-top: -28px; }
    .up-two-col { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 768px) {
    .up-hero { padding: 16px 0 36px; }
    .up-hero-inner { padding: 0 20px; }
    .up-hero h1 { font-size: 32px; }
    .up-hero-sub { font-size: 16px; }
    .up-body { padding: 0 20px 60px; }
    .up-section { padding: 40px 0; }
    .up-h2 { font-size: 24px; }
    .up-emergency-inner { padding: 14px 20px; }
    .up-cta { padding: 40px 24px; border-radius: 16px; }
    .up-cta h2 { font-size: 24px; }
}
@media (max-width: 480px) {
    .up-hero { padding: 14px 0 28px; }
    .up-hero-inner { padding: 0 16px; }
    .up-hero h1 { font-size: 26px; }
    .up-hero-stat-val { font-size: 24px; }
    .up-body { padding: 0 16px 48px; }
    .up-card { padding: 20px; }
    .up-cta { padding: 32px 20px; border-radius: 14px; }
    .up-cta h2 { font-size: 22px; }
    .up-emergency-inner { flex-direction: column; align-items: flex-start; }
}
