/* ================================
   SUPERIOR REMODELERS + PLUM LAYOUT
   #c82445 – primary red
   #01142D – navy
   #fbfbfb – light gray
   #ffffff – white
================================ */


@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;600;700;800&display=swap');

/* ---------- Layout wrapper ---------- */

.scc-wrapper {
    max-width: 1140px;
    margin: 60px auto 90px;
    padding: 0; /* pašus panelus stilējam atsevišķi */
    font-family: "Red Hat Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #01142D;
}

/* kopējs panelis start/steps/summary – liels, noapaļots bloks */
.scc-panel {
    background: #fbfbfb;
    border-radius: 40px;
    box-shadow: 0 24px 60px rgba(1, 20, 45, 0.12);
    padding: 38px 56px 44px;
}

@media (max-width: 960px) {
    .scc-panel {
        padding: 26px 22px 30px;
        border-radius: 28px;
    }
}


.scc-start-view > * {

}

.scc-start-view-inner {
    composes: scc-panel;
}


.scc-start-view {
    background: #fbfbfb;
    border-radius: 40px;
    box-shadow: 0 24px 60px rgba(1, 20, 45, 0.12);
    padding: 38px 56px 44px;
}


.scc-title {
    font-size: 56px;
    line-height: 60px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #01142D;
}

@media (max-width: 960px) {
    .scc-title {
        font-size: 40px;
    }
}

.scc-description {
    font-size: 18px;
    line-height: 1.8;
    color: #3c475a;
    margin-bottom: 64px;
}

/* Choose a service – kartiņas */

.scc-services {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
/* Service card */
.scc-service-card {
    background: #ffffff !important;
    border-radius: 14px !important;
    padding: 0px !important;
    overflow: hidden !important;
    border: 1px solid #e3e3e3 !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07) !important;
}

.scc-service-card:hover {
    transform: translateY(-4px) !important;
    border-color: #c82445 !important;
    background: #fdfbff !important;
    box-shadow: 0 20px 40px rgba(1, 20, 45, 0.22) !important;
}

/* Thumbnail */
.scc-service-thumb {
    width: 100% !important;
    height: 160px !important;
    overflow: hidden !important;
    background: #f7f7f7 !important;
}

.scc-service-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Title */
.scc-service-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    padding: 16px !important;
    color: #01142D !important;
    text-transform: uppercase !important;
}

@media (max-width: 1100px) {
    .scc-services {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .scc-services {
        grid-template-columns: 1fr !important;
    }
}

.scc-service-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 !important;
    border-radius: 32px;
    border: 1px solid #e0e3ea !important;
    background: #ffffff !important;
    cursor: pointer !important;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.16s ease,
        background 0.16s ease !important;
}

.scc-service-card:hover {
    transform: translateY(-4px) !important;
    border-color: #c82445 !important;
    box-shadow: 0 20px 40px rgba(1, 20, 45, 0.22) !important;
}

/* ja izvēlies attēlus servisam */
.scc-service-card img {
    border-radius: 24px !important;
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important;
    margin-bottom: 14px !important;
}

.scc-service-card span {
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #01142D !important;
}

/* =====================================
   STEP VIEW (questions)
===================================== */

.scc-steps {
    margin-top: 40px;
    background: #fbfbfb;
    border-radius: 40px;
    box-shadow: 0 24px 60px rgba(1, 20, 45, 0.12);
    padding: 38px 56px 44px;
}

@media (max-width: 960px) {
    .scc-steps {
        padding: 26px 22px 30px;
        border-radius: 28px;
    }
}

.scc-step-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 24px;
}

/* kreisā puse – jautājums */

.scc-step-header-text {
    max-width: 520px;
}

.scc-step-counter {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #01142D;
    opacity: 0.55;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.scc-step-question {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    color: #01142D;
}

@media (max-width: 960px) {
    .scc-step-question {
        font-size: 24px;
    }
}

/* progress punkti (PlumPro stils) – ja HTML nav, vari vēlāk pievienot */

.scc-step-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.scc-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid #c8b1d6;
    background: transparent;
}

.scc-step-dot.is-active {
    background: #c82445;
    border-color: #c82445;
}

/* Step body – saturs */

.scc-step-body {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    opacity: 1;
    transform: translateX(0);
    transition:
        opacity 0.28s ease,
        transform 0.28s ease;
}

/* kopēja fade animācija x-show dēļ */
.scc-step-body[x-cloak] {
    display: none !important;
}

/* atbilžu režģi */

.scc-options-grid {
    display: grid;
    gap: 20px;
}

.scc-options-grid.scc-options-image {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
    .scc-options-grid.scc-options-image {
        grid-template-columns: 1fr;
    }
}

/* BUTTON variants */

.scc-option-btn {
    border-radius: 28px;
    border: 2px solid #e1d9eb;
    background: #fdfbff;
    padding: 18px 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #01142D;
    cursor: pointer;
    transition: 0.18s ease;
}

.scc-option-btn:hover {
    background: #ffffff;
    border-color: #c82445;
    color: #01142D;
    box-shadow: 0 16px 32px rgba(1, 20, 45, 0.18);
}

.scc-option-btn.is-selected {
    background: #c82445;
    border-color: #c82445;
    color: #ffffff;
}

/* IMAGE variants */

.scc-option-card {
    display: flex;
    flex-direction: column;
    border-radius: 32px;
    border: 2px solid #e1d9eb;
    background: #fdfbff;
    padding: 12px 12px 18px;
    cursor: pointer;
    transition: 0.2s ease;
}

.scc-option-image-wrap {
    position: relative;
    padding-top: 68%;
    border-radius: 24px;
    overflow: hidden;
    background: #e5e5f0;
}

.scc-option-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scc-option-label {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #01142D;
    margin-top: 12px;
}

.scc-option-card:hover {
    transform: translateY(-4px);
    border-color: #c82445;
    background: #fdfbff;
    box-shadow: 0 20px 40px rgba(1, 20, 45, 0.22);
}

.scc-option-card.is-selected {
    border-color: #c82445;
    box-shadow: 0 24px 48px rgba(200, 36, 69, 0.4);
    background: #fdfbff;
}

/* Slider (HOUSE AREA u.c.) */

.scc-slider-section {
    width: 100%;
    margin-top: 20px;
}

.scc-slider-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scc-slider-title {
    font-size: 24px;
    font-weight: 700;
}

.scc-slider-input-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.scc-number-input {
    width: 150px !important;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.scc-number-unit {
    font-size: 15px;
    opacity: 0.7;
}

.scc-slider-wrap {
    width: 100%;
    margin-top: 15px;
}

.scc-range-input {
    width: 100%;
    height: 6px;
    border-radius: 4px;
    appearance: none;
    background: #ccc;
}

.scc-range-input::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: #c82445; /* Superior Remodelers red */
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
}

.scc-slider-limits {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.7;
}

.scc-slider-minmax{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Slider wrapper */
.scc-slider-container {
    position: relative;
    width: 100%;
    margin-top: 50px;
}

/* Fancy tooltip */
.scc-slider-tooltip {
    position: absolute;
    top: -30px;
    background: #c82445;
    color: white;
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 6px;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
}


/* Step footer (Back / Next / Restart) */

.scc-step-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%
}

.scc-step-nav {
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%
}

/* Buttons */

.scc-btn {
    border-radius: 999px;
    padding: 14px 26px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.scc-btn-primary {
    background: #c82445;
    color: #ffffff;
    transition: 0.16s ease;
}

.scc-btn-primary:hover {
    background: #01142D;
    transform: translateY(-2px);
}

.scc-btn-secondary {
    background: #ffffff;
    border: 2px solid #e0e3ea;
    color: #01142D;
    transition: 0.14s ease;
}

.scc-btn-secondary:hover {
    border-color: #c82445;
    background: #c82445;
    color: #fff;
}

/* =====================================
   SUMMARY VIEW (Your estimated cost)
===================================== */

.scc-summary {
    margin-top: 40px;
    background: #fbfbfb;
    border-radius: 40px;
    box-shadow: 0 24px 60px rgba(1, 20, 45, 0.12);
}

@media (max-width: 960px) {
    .scc-summary {
        border-radius: 28px;
    }
}

.scc-summary-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
}

@media (max-width: 960px) {
    .scc-summary-inner {
        grid-template-columns: 1fr;
    }
}


.scc-estimate-card {
    background: #01142D;
    color: #ffffff;
    border-radius: 32px 0px 0px 0px;
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scc-estimate-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.scc-estimate-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 640px) {
    .scc-estimate-row {
        grid-template-columns: 1fr;
    }
}

.scc-estimate-plan {
    padding: 10px 14px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.scc-plan-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    opacity: 0.8;
    margin-bottom: 2px;
}

.scc-plan-price {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
}

.scc-estimate-note {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.9;
}

.scc-estimate-image-placeholder {
    margin-top: 10px;
    border-radius: 24px;
    height: 160px;
    background: linear-gradient(135deg, rgba(255,255,255,0.28), rgba(0,0,0,0.2));
}

/* labā daļa – forma */

.scc-form-card {
    background: #ffffff;
    border-radius: 0px 32px 32px 0px;
    padding: 32px 64px 32px;
    border: 1px solid #e0e3ea;
    box-shadow: 0 14px 32px rgba(1, 20, 45, 0.08);
    height: 100%;
    flex: 1;
}

.scc-form-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #01142D;
}

.scc-form-text {
    font-size: 16px;
    line-height: 1.7;
    color: #3c475a;
    margin-bottom: 18px;
}

.scc-form {
    display: flex;
    flex-direction: column;
    gap: 13.5px;
}

.scc-form-row input,
.scc-form-row select,
.scc-form-row textarea {
    width: 100%;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    border: 1px solid #d4d8df !important;
    font-size: 16px !important;
    color: #01142D !important;
    background: #ffffff !important;
    transition: 0.15s ease;
}

.scc-form-row input:focus,
.scc-form-row select:focus,
.scc-form-row textarea:focus {
    border-color: #c82445;
    box-shadow: 0 0 0 1px rgba(200, 36, 69, 0.28);
}

.scc-form-row textarea {
    min-height: 110px;
    resize: vertical;
}

.scc-form-actions {
    margin-top: 8px;
}

.scc-form-message {
    font-size: 13px;
    margin-top: 6px;
    color: #01142D;
}

/* Summary image container */
.scc-summary-image-wrap {
    width: 100%;
    border-radius: 0px 0px 0px 32px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Summary image */
.scc-summary-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 767px){
    .scc-form-card {
        border-radius: 0px 0px 32px 32px;
        padding: 32px 16px 32px;
        height: 100%;
        width: 100%;
        flex: 1;
    }
    .scc-estimate-card {
    background: #01142D;
    color: #ffffff;
    border-radius: 32px 32px 0px 0px;
}
  .scc-summary-image-wrap {
    width: 100%;
    border-radius: 0px 0px 0px 0px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}
 
}

/* =====================================
   GENERAL TRANSITIONS
===================================== */

[x-cloak] {
    display: none !important;
}

/* Viegls fade/slide starp view (x-show) */
.scc-steps,
.scc-start-view,
.scc-summary {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.28s ease,
        transform 0.28s ease;
}
