/* PowerHex Technologies - Style Sheets */

:root {
    --primary: #24252a;       /* Charcoal Primary */
    --secondary: #ff9f00;     /* High-Visibility Amber */
    --tertiary: #00a896;      /* Clean Solar Teal */
    --dark-grey: #17181c;
    --light-grey: #f4f5f8;
    --border-color: #e2e4eb;
    --text-main: #33353e;
    --text-muted: #6b6e7a;
    --white: #ffffff;
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.05);
    --shadow-bold: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Section Common Container */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-tag {
    display: inline-block;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Global Navigation Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 228, 235, 0.6);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-box {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.logo-text .highlight {
    color: var(--secondary);
}

.logo-subtext {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    font-weight: 700;
}

.desktop-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.desktop-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
}

.desktop-nav a:hover {
    color: var(--secondary);
}

.desktop-nav .btn-nav-contact {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.desktop-nav .btn-nav-contact:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

.header-cta-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-call-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 159, 0, 0.1);
    border: 1px solid rgba(255, 159, 0, 0.3);
    color: var(--primary);
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.95rem;
}

.header-call-btn i {
    color: var(--secondary);
}

.header-call-btn:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background-color: var(--white);
    z-index: 2000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-drawer-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-link {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 1px solid var(--light-grey);
    padding-bottom: 10px;
}

.drawer-link:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.drawer-footer {
    margin-top: auto;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.drawer-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.drawer-call-cta {
    display: block;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 130px;
    background-color: var(--light-grey);
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 159, 0, 0.03) 0%, rgba(0, 168, 150, 0.03) 90%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 600px;
}

.trust-badge-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 20px;
}

.trust-badge-mini i {
    color: var(--secondary);
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-primary-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--secondary);
    color: var(--primary);
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(255, 159, 0, 0.2);
}

.btn-primary-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 159, 0, 0.3);
}

.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 6px;
    font-size: 1rem;
}

.btn-secondary-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.stat-item .stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-item .stat-plus {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Visual Overlapping Stack */
.hero-visual {
    position: relative;
    height: 480px;
}

.visual-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.visual-card {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-bold);
    background-color: var(--white);
    border: 4px solid var(--white);
    transition: var(--transition-smooth);
}

.visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.visual-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(36, 37, 42, 0.95);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    backdrop-filter: blur(5px);
}

.main-visual {
    width: 80%;
    height: 320px;
    top: 20px;
    left: 0;
    z-index: 3;
}

.sub-visual-1 {
    width: 50%;
    height: 180px;
    bottom: 20px;
    right: 0;
    z-index: 4;
}

.sub-visual-2 {
    width: 40%;
    height: 150px;
    top: 100px;
    right: 20px;
    z-index: 2;
    filter: brightness(0.85);
}

.visual-card:hover {
    transform: scale(1.03) translateY(-5px);
    z-index: 10;
    filter: brightness(1);
}

/* --- Fix 2: Showcase Showcase CSS --- */
/* --- Fix 2: Showcase Showcase CSS --- */
.services-showcase-container {
    display: grid;
    grid-template-columns: 0.33fr 0.67fr;
    gap: 30px;
    align-items: stretch;
    margin-top: 40px;
}

.services-tabs-wrapper-outer {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.services-tabs-wrapper {
    position: relative;
    width: 100%;
}

.services-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-tab {
    background-color: var(--light-grey);
    border: 1px solid var(--border-color);
    border-left: 4px solid transparent;
    padding: 14px 18px;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
    border-radius: 6px;
}

.service-tab:hover {
    background-color: var(--white);
    border-left-color: rgba(255, 159, 0, 0.5);
    transform: translateX(3px);
}

.service-tab.active {
    border-left-color: var(--secondary);
    background-color: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.service-tab i {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
    width: 22px;
    text-align: center;
}

.service-tab.active i {
    color: var(--secondary);
}

.services-panel-container {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    min-height: 480px;
}

.service-panel {
    display: none;
    grid-template-columns: 0.4fr 0.6fr;
    height: 100%;
    align-items: stretch;
}

.service-panel.active {
    display: grid;
}

.panel-content-right {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.panel-content-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.panel-content-left {
    grid-column: 2;
    grid-row: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    background-color: var(--white);
}

.panel-icon {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: inline-block;
}

.panel-content-left h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.panel-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.panel-bullets {
    margin-bottom: 25px;
}

.panel-bullets li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
}

.panel-bullets li::before {
    content: "✓";
    color: var(--tertiary);
    font-weight: 700;
}

.panel-stat {
    margin-bottom: 25px;
    background-color: var(--light-grey);
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
}

.stat-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.stat-value {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
}

.panel-ctas {
    display: flex;
    gap: 12px;
}

.btn-panel-quote {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
}

.btn-panel-quote:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-panel-gallery {
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
}

.btn-panel-gallery:hover {
    background-color: var(--light-grey);
}

.panel-bg-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.03;
    pointer-events: none;
}

/* Interactive Process Flow Section */
.process-section {
    background-color: var(--light-grey);
    overflow: hidden;
}

.process-flow-container {
    position: relative;
    margin-top: 40px;
    padding-bottom: 40px;
}

.process-line-svg {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
}

.process-steps {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.process-step {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-badge {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-bottom: 12px;
    border: 3px solid var(--light-grey);
}

.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.process-step h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 180px;
}

.process-step.active .step-icon {
    background-color: var(--primary);
    color: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(255, 159, 0, 0.25);
    transform: scale(1.08);
}

.process-step.active .step-badge {
    background-color: var(--secondary);
    color: var(--primary);
}

/* Authentic Project / Video Showcase Section */
.showcase-section {
    background-color: var(--white);
}

.showcase-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.showcase-player-box {
    width: 100%;
}

.custom-video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-bold);
    aspect-ratio: 16 / 9;
    background-color: var(--primary);
}

.custom-video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.video-overlay-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(36, 37, 42, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    z-index: 3;
}

.play-btn-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: var(--secondary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(255, 159, 0, 0.4);
    animation: pulseGlow 1.8s infinite;
}

.play-label {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.3);
    padding: 5px 15px;
    border-radius: 20px;
}

.mock-video-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 4;
}

.mock-video-progress .progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--secondary);
    transition: width 0.1s linear;
}

.showcase-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.control-tab {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.control-tab i {
    font-size: 1.8rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.control-tab .tab-info h5 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.control-tab .tab-info .tab-loc {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.control-tab.active {
    border-color: transparent;
    background-color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.control-tab.active i {
    color: var(--secondary);
}

.control-tab.active .tab-info h5 {
    color: var(--white);
}

.control-tab.active .tab-info .tab-loc {
    color: rgba(255, 255, 255, 0.6);
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 159, 0, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(255, 159, 0, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 159, 0, 0);
    }
}

/* --- Fix 3: Advanced Estimator Layout + Avatar --- */
.estimator-section {
    background-color: var(--light-grey);
}

.estimator-main-layout {
    display: grid;
    grid-template-columns: 0.26fr 0.74fr;
    gap: 30px;
    align-items: start;
    margin-top: 45px;
}

/* Avatar Wrapper styling */
.avatar-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 60px;
}

.avatar-wrapper {
    position: relative;
    width: 100%;
    max-width: 200px;
}

.speech-bubble {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) scale(0.85);
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: var(--shadow-bold);
    z-index: 12;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.speech-bubble::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: var(--white) transparent transparent;
}

.speech-bubble::before {
    content: "";
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-width: 11px 11px 0;
    border-style: solid;
    border-color: var(--primary) transparent transparent;
}

/* SVG dynamic elements styling */
.engineer-svg {
    width: 100%;
    height: auto;
    display: block;
}

.avatar-wrapper .mouth-smile,
.avatar-wrapper .mouth-surprised,
.avatar-wrapper .mouth-neutral,
.avatar-wrapper .item-clipboard,
.avatar-wrapper .item-thumbsup {
    display: none;
}

/* State management classes */
.avatar-wrapper.idle .mouth-smile { display: block; }
.avatar-wrapper.idle .item-clipboard { display: block; }

.avatar-wrapper.calculating .mouth-neutral { display: block; }
.avatar-wrapper.calculating .item-clipboard { display: block; }

.avatar-wrapper.result .mouth-smile { display: block; }
.avatar-wrapper.result .item-thumbsup { display: block; }
.avatar-wrapper.result .speech-bubble {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.avatar-wrapper.high-value .mouth-surprised { display: block; }
.avatar-wrapper.high-value .item-thumbsup { display: block; }
.avatar-wrapper.high-value .speech-bubble {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}
.avatar-wrapper.high-value .eyebrow {
    transform: translateY(-4px);
}

/* Dark layout panel design system */
.estimator-panel-card {
    background-color: #17181c; /* Charcoal Dark */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--shadow-bold);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
}

.estimator-header {
    grid-column: span 2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 18px;
    margin-bottom: 5px;
}

.estimator-header label {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.estimator-header select {
    width: 100%;
    background-color: #24252a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 12px 15px;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    outline: none;
}

.estimator-inputs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.estimator-panel-card label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.estimator-panel-card select {
    width: 100%;
    background-color: #24252a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.estimator-panel-card select:focus {
    border-color: var(--secondary);
}

.form-group {
    margin-bottom: 15px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Custom styled inputs sliders */
.range-slider-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.estimator-panel-card input[type="range"] {
    width: 100%;
    height: 5px;
    background: #33353e;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

.estimator-panel-card input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--secondary);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(255, 159, 0, 0.4);
}

.estimator-panel-card .range-value {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1rem;
    align-self: flex-end;
}

.estimator-panel-card .help-text {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 3px;
}

/* Contract type radio control segment */
.toggle-switch-wrapper {
    display: flex;
    background-color: #24252a;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 3px;
    width: 100%;
}

.toggle-switch-wrapper input[type="radio"] {
    display: none;
}

.toggle-switch-wrapper label.radio-label {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    border-radius: 4px;
    margin-bottom: 0;
    transition: var(--transition-fast);
}

.toggle-switch-wrapper input[type="radio"]:checked + label.radio-label {
    background-color: var(--secondary);
    color: var(--primary);
}

.dynamic-group.hidden {
    display: none;
}

/* Result panel dark summary cards */
.estimator-result-box {
    background-color: #24252a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.result-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.statement-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.est-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--secondary);
    background-color: rgba(255, 159, 0, 0.1);
    padding: 3px 6px;
    border-radius: 4px;
}

.main-price-display {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 18px;
}

.cur-symbol {
    font-size: 1.6rem;
    color: var(--secondary);
    font-weight: 600;
}

.main-range {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.estimator-indicators {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 0;
    margin-bottom: 18px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.spec-item i {
    color: var(--tertiary);
    width: 14px;
    text-align: center;
}

.result-breakdown-wrapper {
    margin-bottom: 15px;
}

.b-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.b-total {
    font-weight: 700;
    color: var(--white);
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 10px;
    margin-top: 10px;
}

.btn-lock-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--secondary);
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 12px 18px;
    border-radius: 6px;
    text-align: center;
    transition: var(--transition-fast);
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(255, 159, 0, 0.15);
}

.btn-lock-quote:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.est-disclaimer {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 12px;
    text-align: center;
    line-height: 1.3;
}

/* Contact & Lead Form Section */
.contact-section {
    background-color: var(--white);
}

.contact-split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 50px;
}

.info-contact-list {
    margin: 35px 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 15px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-grey);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
}

.info-details span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.info-details p {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 500;
}

.info-link {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.info-link:hover {
    color: var(--secondary);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.coverage-banner {
    background-color: var(--tertiary);
    color: var(--white);
    padding: 10px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-placeholder {
    height: 180px;
    background-color: #1a1c21;
    color: rgba(255,255,255,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    border-top: 1px solid var(--primary);
}

.map-placeholder i {
    font-size: 2rem;
    color: var(--secondary);
}

/* Contact Form Styling */
.contact-form-panel {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

.contact-form-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.contact-form-panel p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-input {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-input label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.form-group-input input,
.form-group-input select,
.form-group-input textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    width: 100%;
}

.form-group-input input:focus,
.form-group-input select:focus,
.form-group-input textarea:focus {
    border-color: var(--secondary);
}

.btn-submit-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-submit-form:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

/* Footer Section */
.footer-section {
    background-color: var(--dark-grey);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
    border-top: 4px solid var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.brand-col p {
    margin: 20px 0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.social-links a:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.contact-col .emergency-bold {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer-phone-number {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 15px;
}

.footer-phone-number:hover {
    color: var(--white);
}

.contact-col .hours {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}

.footer-bottom {
    background-color: #101114;
    padding: 25px 0;
    font-size: 0.8rem;
}

.bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 15px;
}

/* Mobile Sticky Call Bar (Mobile View) */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: none;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.sticky-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    gap: 8px;
}

.sticky-call {
    background-color: var(--secondary);
    color: var(--primary);
}

.sticky-quote {
    background-color: var(--primary);
    color: var(--white);
}

/* --- Responsive Breakpoints --- */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    .showcase-layout {
        grid-template-columns: 1fr;
    }
    .estimator-main-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .avatar-container {
        padding-top: 0;
        margin-bottom: -20px;
    }
    .avatar-wrapper {
        max-width: 160px;
    }
    .speech-bubble {
        top: -10px;
    }
    .estimator-panel-card {
        grid-template-columns: 1fr;
        padding: 25px;
    }
    .estimator-header {
        grid-column: span 1;
    }
    .contact-split {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    .footer-col.contact-col {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .header-call-btn {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Showcase showcase mobile sliders horizontal scroll chips */
    .services-showcase-container {
        grid-template-columns: 1fr;
    }
    .services-tabs-wrapper-outer {
        margin-bottom: 15px;
        position: relative;
        width: 100%;
    }
    .services-tabs-wrapper {
        position: relative;
        width: 100%;
        overflow: hidden;
    }
    .services-tabs-wrapper::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 60px;
        height: 100%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--white));
        pointer-events: none;
        z-index: 5;
    }
    .services-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        border-radius: 0;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .services-tabs::-webkit-scrollbar {
        display: none;
    }
    .service-tab {
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 20px;
        padding: 8px 16px;
        white-space: nowrap;
        background-color: var(--light-grey);
        flex-shrink: 0;
    }
    .service-tab:hover {
        border-bottom-color: rgba(255, 159, 0, 0.4);
    }
    .service-tab.active {
        border-bottom-color: var(--secondary);
        background-color: rgba(255, 159, 0, 0.08);
    }
    .scroll-hint-mobile {
        display: block;
        font-size: 0.75rem;
        color: var(--text-muted);
        text-align: right;
        margin-top: 4px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        transition: opacity 0.3s ease;
    }
    .scroll-hint-mobile.hidden {
        opacity: 0;
        pointer-events: none;
    }
    .service-panel {
        grid-template-columns: 1fr;
    }
    .panel-content-right {
        grid-column: 1;
        grid-row: 1;
        min-height: 240px;
    }
    .panel-content-left {
        grid-column: 1;
        grid-row: 2;
        padding: 25px;
        background-color: var(--white);
    }
    .panel-content-left h2 {
        font-size: 1.5rem;
    }

    /* Flowchart layout responsive vertical */
    .process-line-svg {
        display: none;
    }
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    .process-step {
        text-align: left;
        flex-direction: row;
        gap: 20px;
        align-items: flex-start;
        position: relative;
        width: 100%;
    }
    .process-step::after {
        content: "";
        position: absolute;
        top: 80px;
        left: 35px;
        width: 2px;
        height: calc(100% - 40px);
        background-color: var(--border-color);
        z-index: -1;
    }
    .process-step:last-child::after {
        display: none;
    }
    .step-badge {
        position: absolute;
        top: 0;
        left: 45px;
        border: 2px solid var(--white);
    }
    .step-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .process-step p {
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-col.contact-col {
        grid-column: span 1;
    }
    
    /* Show mobile sticky bottom bar */
    .mobile-sticky-cta {
        display: flex;
    }
    body {
        padding-bottom: 60px; /* Space for sticky bar */
    }
}
