/* Värmepumpar Växjö custom styles */
:root {
    --ink: #000000;
    --wine: #3D0C11;
    --amber: #BF6900;
    --wine-soft: #f4e9ea;
    --amber-soft: #fff4e5;
    --paper: #faf8f6;
    --muted: #5c5553;
}

html {
    scroll-behavior: smooth;
    position: relative;
    height: 100%;
}

body {
    position: relative;
    min-height: 100%;
    color: var(--ink);
    background: var(--paper);
    font-family: "Poppins", sans-serif;
    line-height: 1.7;
}

a {
    color: var(--wine);
}

a:hover {
    color: var(--amber);
}

.site-navbar {
    background: var(--ink);
    border-bottom: 4px solid var(--amber);
}

.navbar-brand {
    color: #fff !important;
    font-weight: 800;
    letter-spacing: -.04em;
    font-size: 1.55rem;
    line-height: 1.1;
}

.navbar-brand .brand-accent {
    color: #eda442;
}

.brand-subtitle {
    display: block;
    font-size: .66rem;
    font-weight: 500;
    letter-spacing: .12em;
    color: #dbcece;
    margin-top: 5px;
    text-transform: uppercase;
}

.navbar .nav-link {
    color: #000;
    font-weight: 600;
    padding: .7rem .85rem !important;
    transition: color .2s;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: #BF6900;
}

.navbar-toggler {
    border-color: #aa8c8e;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.dropdown-menu {
    border: 0;
    border-top: 3px solid var(--amber);
    box-shadow: 0 10px 26px rgba(61, 12, 17, .15);
}

.dropdown-item:hover, .dropdown-item.active {
    background: var(--amber-soft);
    color: var(--wine);
}

.hero {
    color: white;
    background-image:
        linear-gradient(112deg,
            rgba(0, 0, 0, 0.97) 0%,
            rgba(61, 12, 17, 0.94) 45%,
            rgba(109, 50, 16, 0.45) 100%),
        url('/img/header-bg.png');

    background-position: 20% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 70px solid rgba(191, 105, 0, .1);
    border-radius: 50%;
    right: -140px;
    top: -230px;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-block;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #f4b35b;
}

.hero h1 {
    font-size: 45px;
    font-weight: 700;
    line-height: 1.3;
    max-width: 700px;
}

@media screen and (max-width: 567px) {
  .hero h1 {
    font-size: 30px;
}
}
.hero p {
    max-width: 700px;
    color: #f0dfdf;
    font-size: 1.07rem;
}

.hero-rule {
    width: 67px;
    height: 5px;
    background: var(--amber);
    border-radius: 10px;
    margin: 1.5rem 0;
}

.btn-accent {
    background: var(--amber);
    color: #fff;
    border: 2px solid var(--amber);
    font-weight: 600;
    padding: .7rem 1.3rem;
}

.btn-accent:hover,
.btn-accent:focus {
    background: #975200;
    border-color: #975200;
    color: #fff;
}

.btn-outline-light {
    padding: 0.7rem 1.3rem;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--wine);
}

.breadcrumb {
    font-size: .85rem;
}

.breadcrumb-item.active {
    color: #67595a;
}

.content-panel,
.side-panel {
    background: #fff;
    border: 1px solid rgba(61, 12, 17, .10);
    box-shadow: 0 10px 30px rgba(61, 12, 17, .055);
    border-radius: 12px;
}

.content-panel {
    padding: clamp(1.3rem, 3.2vw, 2.6rem);
}

.section-kicker {
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .76rem;
    font-weight: 800;
}

.section-heading {
    font-size: clamp(1.65rem, 2.5vw, 2.25rem);
    letter-spacing: -.035em;
    font-weight: 800;
    color: var(--wine);
    line-height: 1.2;
}

.intro {
    color: #51494a;
    font-size: 1.08rem;
}

.topic-card {
    border: 1px solid #e9dedd;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.topic-card:hover {
    transform: translateY(-3px);
    border-color: #d7aa78;
    box-shadow: 0 12px 26px rgba(61, 12, 17, .12);
}

.topic-art {
    height: 9px;
    background: linear-gradient(90deg, var(--wine), var(--amber));
}

.topic-card h3 {
    color: var(--wine);
    font-size: 1.22rem;
    font-weight: 750;
}

.topic-card p {
    color: var(--muted);
    font-size: .94rem;
    margin-bottom: 1rem;
}

.text-link {
    transition: all linear 3000ms;
    font-weight: 600;
    text-decoration: none;
    color: var(--amber);
}

.text-link:hover {
    color: var(--amber);
    opacity: 0.75;
}

.highlight-section {
    background: var(--amber-soft);
    border-left: 4px solid var(--amber);
    border-radius: 0 10px 10px 0;
    padding: 1.5rem;
}

.highlight-section h2 {
    color: var(--wine);
    font-weight: 800;
    font-size: 1.4rem;
}

.side-panel {
    overflow: hidden;
}

.side-title {
    background: var(--wine);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    padding: 1.1rem 1.3rem;
    border-bottom: 4px solid var(--amber);
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1.25rem;
    color: var(--wine);
    text-decoration: none;
    border-bottom: 1px solid #f0e9e7;
    font-weight: 600;
}

.sidebar-nav li:last-child a {
    border-bottom: 0;
}

.sidebar-nav a:hover,
.sidebar-nav a:focus {
    background: var(--amber-soft);
    color: #8b4800;
}

.sidebar-nav a::after {
    content: "→";
    color: var(--amber);
}

.aside-note {
    background: linear-gradient(135deg, var(--wine), #6a2125);
    color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
}

.aside-note h2 {
    font-size: 1.2rem;
    font-weight: 800;
}

.aside-note p {
    color: #f2dddd;
    font-size: .94rem;
}

.aside-note a {
    color: #ffd08d;
    font-weight: 700;
}

.site-footer {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ink);
    color: #e7dbdb;
    border-top: 5px solid var(--amber);
}

.site-footer h2 {
    font-size: 1.1rem;
    color: white;
    font-weight: 800;
}

.site-footer a {
    color: #ead3d3;
    text-decoration: none;
}

.site-footer a:hover {
    color: #f4b45f;
}

.footer-line {
    font-size: .85rem;
    color: #c9baba;
}

:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 3px;
}

@media (max-width:991.98px) {
    .hero {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
}

/* Archived homepage content */
.topic-title {
    color: var(--wine);
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.4;
}

.content-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eadcda;
}

.content-section>h2 {
    font-size: 25px;
    font-weight: 700;
    color: var(--wine);
    margin-bottom: 1.1rem;
}

.content-section h3 {
    color: var(--wine);
    font-size: 20px;
    font-weight: 600;
    margin: 1.5rem 0 .6rem;
}
.content-section h4 {
    color: var(--wine);
    font-size: 18px;
    font-weight: 600;
    margin: 1.5rem 0 .6rem;
}

.content-section h5 {
    color: var(--wine);
    font-size: 16px;
    font-weight: 600;
    margin: 1.5rem 0 .6rem;
}

.company-block,
.item-block {
    padding: 1rem 0;
    border-bottom: 1px solid #eee3df;
}

.company-block h4 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--amber);
    margin-top: 1rem;
}

.sidebar-group {
    background: #faf1e7;
    border-top: 1px solid #e6d5c0;
    border-bottom: 1px solid #e6d5c0;
    color: var(--wine);
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 1.3rem;
    margin: 0;
}

.sidebar-nav a {
    font-size: .89rem;
}

.site-footer li {
    margin-bottom: .5rem;
}

.contact-form {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    padding: 30px;
    border: 1px solid rgba(61, 12, 17, 0.12);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.contact-form .form-label {
    color: #3D0C11;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form .required {
    color: #BF6900;
}

.contact-form .form-control {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #000000;
    background-color: #ffffff;
    padding: 12px 15px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form .form-control:focus {
    border-color: #BF6900;
    box-shadow: 0 0 0 3px rgba(191, 105, 0, 0.15);
    outline: none;
}

.contact-form .form-control::placeholder {
    color: #888888;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn-contact {
    background-color: #3D0C11;
    color: #ffffff;
    padding: 12px 35px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #3D0C11;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-form .btn-contact:hover {
    background-color: #BF6900;
    border-color: #BF6900;
    color: #ffffff;
}

.contact-form .btn-contact:focus-visible {
    box-shadow: 0 0 0 4px rgba(191, 105, 0, 0.25);
}

@media (max-width: 767.98px) {
    .contact-form {
        padding: 20px;
    }

    .contact-form .btn-contact {
        width: 100%;
    }
}
hr {
    border: 0;
    border-top: 1px solid #eadcda;
    opacity: 1;
}

/* Custom list styling */
ul.list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0 25px;
}

ul.list li {
    position: relative;
    padding: 10px 15px 10px 32px;
    margin-bottom: 8px;
    color: #3D0C11;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    border-bottom: 1px solid #eadcda;
    transition: padding-left 0.2s ease;
}

/* Custom amber bullets */
ul.list li::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 21px;
    width: 9px;
    height: 9px;
    background-color: #BF6900;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(191, 105, 0, 0.12);
}

ul.list li:last-child {
    border-bottom: none;
}

.heatpump-table {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    border: 1px solid #eadcda;
    vertical-align: top;
}

.heatpump-table thead th {
    background-color: #3D0C11;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 20px;
    border-color: #3D0C11;
}

.heatpump-table tbody th {
    background-color: #faf5f3;
    color: #3D0C11;
    font-weight: 600;
    padding: 16px 20px;
    width: 30%;
    min-width: 160px;
    border-color: #eadcda;
}

.heatpump-table tbody td {
    color: #000000;
    padding: 16px 20px;
    border-color: #eadcda;
}

.heatpump-table tbody tr:hover th,
.heatpump-table tbody tr:hover td {
    background-color: #fff8ef;
}

@media (max-width: 767.98px) {
    .heatpump-table {
        font-size: 13px;
    }

    .heatpump-table thead th,
    .heatpump-table tbody th,
    .heatpump-table tbody td {
        padding: 12px;
    }
}

ol.num-list {
    list-style: none;
    counter-reset: num-counter;
    padding: 0;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

ol.num-list li {
    counter-increment: num-counter;
    position: relative;
    padding: 16px 20px 16px 66px;
    background: #f8f9fa;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    line-height: 1.7;
    color: #333333;
    transition: background 0.2s ease,
                border-color 0.2s ease;
}

ol.num-list li::before {
    content: counter(num-counter);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #BF6900;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50%;
}

ol.num-list li:hover {
    background: #fffaf2;
    border-color: #BF6900;
}

@media (max-width: 600px) {
    ol.num-list li {
        padding: 14px 14px 14px 60px;
    }

    ol.num-list li::before {
        left: 12px;
        width: 32px;
        height: 32px;
    }
}

