:root {
    --green: #075f43;
    --deep: #034432;
    --dark: #163229;
    --soft: #f4f8f5;
    --line: #d9e4de;
    --cream: #fafbf9;
    --text: #26332e;
    --muted: #728078;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

img {
    width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    width: min(1420px, calc(100% - 48px));
    margin-inline: auto;
}


/* HEADER */

.top-header {
    position: relative;
    z-index: 20;
    background: white;
    border-bottom: 1px solid #edf1ef;
}

.header-layout {
    min-height: 130px;
    display: grid;
    grid-template-columns:
        1.15fr 1.5fr .65fr;
    gap: 35px;
    align-items: center;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--green);
}

.logo-symbol {
    width: 70px;
    height: 70px;
}

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

.logo-copy strong {
    color: var(--deep);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(31px, 3vw, 51px);
    line-height: .9;
    font-weight: 600;
}

.logo-copy small {
    margin-top: 14px;
    color: #78867f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.service-nav {
    height: 72px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-left: 1px solid #a9b7b0;
}

.service-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #284037;
    font-size: 12px;
    font-weight: 700;
}

.nav-icon {
    color: var(--deep);
    font-family: Georgia, serif;
    font-size: 31px;
    line-height: 1;
}

.quality-note {
    justify-self: end;
    color: var(--green);
    font-family:
        "Brush Script MT",
        cursive;
    font-size: clamp(25px, 2.5vw, 40px);
    font-style: italic;
    line-height: .8;
    transform: rotate(-5deg);
}

.quality-note span {
    display: block;
    margin-left: 20px;
}


/* SHOWCASE */

.showcase {
    position: relative;
    overflow: hidden;
    padding: 46px 0 50px;
    background:
        linear-gradient(
            180deg,
            #fff,
            #fbfcfb
        );
}

.intro-copy {
    margin: 0 auto 32px;
    text-align: center;
}

.intro-copy > span {
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .23em;
}

.intro-copy h1 {
    margin: 7px 0;
    color: var(--deep);
    font-family: Georgia, serif;
    font-size: clamp(37px, 4vw, 58px);
    font-weight: 500;
}

.intro-copy p {
    margin: 0;
    color: #79847f;
}

.leaf-decoration {
    position: absolute;
    width: 190px;
    height: 90px;
    border-radius: 100% 0;
    background: rgba(60, 137, 84, .18);
    filter: blur(14px);
    transform: rotate(35deg);
}

.leaf-one {
    right: -60px;
    top: 5px;
}

.leaf-two {
    left: -90px;
    bottom: 20px;
    transform: rotate(-30deg);
}

.showcase-grid {
    display: grid;
    grid-template-columns:
        1.18fr 1fr 1fr 1.18fr;
    gap: 10px;
}

.showcase-card {
    position: relative;
    overflow: hidden;
    height: 330px;
    margin: 0;
    border-radius: 12px;
    background: #e4e9e6;
}

.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-card figcaption {
    position: absolute;
    left: 15px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px;
    color: white;
    background: rgba(4, 88, 61, .95);
    border-radius: 999px;
    font-size: 13px;
}

.caption-icon {
    font-size: 16px;
}


/* BEFORE AFTER */

.before-after {
    position: relative;
    padding: 10px 0 75px;
    background: white;
}

.ornament-heading {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 25px;
}

.ornament-heading > span {
    height: 1px;
    background: #9faca5;
}

.ornament-heading div {
    min-width: 380px;
    text-align: center;
}

.ornament-heading h2 {
    margin: 0;
    color: var(--deep);
    font-family: Georgia, serif;
    font-size: clamp(42px, 5vw, 65px);
    font-weight: 500;
    line-height: .9;
}

.ornament-heading p {
    margin: 7px 0 0;
    color: #7c8982;
}

.compare-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.compare-card {
    margin: 0;
}

.compare-image {
    position: relative;
    overflow: hidden;
    height: 270px;
    border-radius: 10px;
    background: #e7ebe9;
}

.compare-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-pill,
.after-pill {
    position: absolute;
    bottom: 10px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.before-pill {
    left: 10px;
    color: #34443d;
    background: rgba(255,255,255,.93);
}

.after-pill {
    right: 10px;
    color: white;
    background: var(--green);
}

.compare-arrow {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: white;
    background: var(--green);
    border: 3px solid white;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 31px;
    transform: translate(-50%, -50%);
}

.compare-label {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 8px 0;
    color: #1e332b;
}

.compare-icon {
    color: var(--green);
    font-size: 24px;
}

.compare-label strong {
    font-size: 13px;
}


/* SECTION GENERAL */

.services-section,
.gallery-section,
.pricing,
.rut-info {
    padding: 95px 0;
}

.section-title {
    max-width: 730px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-title > span,
.price-heading span,
.rut-layout > div:first-child span,
.final-cta span {
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
}

.section-title h2,
.price-heading h2,
.rut-layout h2,
.final-cta h2 {
    margin: 9px 0 0;
    color: var(--deep);
    font-family: Georgia, serif;
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 500;
    line-height: 1;
}

.section-title p {
    margin: 14px 0 0;
    color: var(--muted);
}


/* SERVICES */

.services-section {
    background: var(--soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.service-box {
    min-height: 285px;
    padding: 30px 27px;
    background: white;
    border: 1px solid #e3ebe6;
    border-radius: 16px;
}

.service-box.featured-service {
    color: white;
    background: var(--green);
    border-color: var(--green);
}

.big-icon {
    color: var(--green);
    font-size: 36px;
}

.featured-service .big-icon {
    color: white;
}

.service-box h3 {
    margin: 22px 0 10px;
    color: var(--deep);
    font-family: Georgia, serif;
    font-size: 25px;
}

.featured-service h3 {
    color: white;
}

.service-box p {
    min-height: 72px;
    color: #738078;
    font-size: 13px;
    line-height: 1.6;
}

.featured-service p,
.featured-service small {
    color: rgba(255,255,255,.75);
}

.service-box strong,
.service-box small {
    display: block;
}

.service-box strong {
    color: var(--green);
    font-size: 15px;
}

.featured-service strong {
    color: white;
}

.service-box small {
    margin-top: 3px;
    color: #89948e;
}


/* GALLERY */

.gallery-section {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-auto-rows: 260px;
    gap: 12px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.gallery-wide {
    grid-row: span 2;
}


/* PRICING */

.pricing {
    color: white;
    background: var(--deep);
}

.price-heading {
    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 38px;
}

.price-heading span,
.final-cta span {
    color: #a8d0bc;
}

.price-heading h2 {
    color: white;
}

.price-heading p {
    color: rgba(255,255,255,.65);
    line-height: 1.65;
}

.price-top-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.price-top-grid article {
    padding: 22px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 13px;
    background: rgba(255,255,255,.06);
}

.price-top-grid span,
.price-top-grid strong,
.price-top-grid small {
    display: block;
}

.price-top-grid span {
    color: rgba(255,255,255,.68);
    font-size: 11px;
}

.price-top-grid strong {
    margin: 8px 0 2px;
    font-family: Georgia, serif;
    font-size: 29px;
    font-weight: 500;
}

.price-top-grid small {
    color: rgba(255,255,255,.55);
}

.tables-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.price-card {
    overflow: hidden;
    padding-top: 7px;
    color: var(--text);
    background: white;
    border-radius: 15px;
}

.price-card h3 {
    padding: 17px 23px 13px;
    margin: 0;
    color: var(--deep);
    font-family: Georgia, serif;
    font-size: 23px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 12px 23px;
    border-top: 1px solid #e4ebe7;
    font-size: 12px;
}

td:last-child {
    color: var(--green);
    font-weight: 800;
    text-align: right;
}

.office-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 15px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 14px;
    background: rgba(255,255,255,.055);
}

.office-price span,
.office-price strong,
.office-price p {
    display: block;
}

.office-price span {
    color: #a7cdbb;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
}

.office-price strong {
    margin-top: 7px;
    font-family: Georgia, serif;
    font-size: 20px;
}

.office-price p {
    margin: 5px 0 0;
    color: rgba(255,255,255,.6);
    font-size: 12px;
}

.office-price a {
    flex: 0 0 auto;
    padding: 12px 20px;
    color: var(--deep);
    background: white;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}


/* RUT */

.rut-info {
    background: #f6f8f6;
}

.rut-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
}

.rut-layout h2 {
    font-size: 50px;
}

.rut-layout > div:last-child {
    padding-left: 30px;
    border-left: 1px solid #cddbd3;
}

.rut-layout p {
    margin: 0 0 16px;
    color: #68766f;
    line-height: 1.7;
}


/* CTA */

.final-cta {
    padding: 80px 0;
    color: white;
    background:
        linear-gradient(
            125deg,
            #086148,
            #03402f
        );
}

.final-cta-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.final-cta h2 {
    max-width: 650px;
    color: white;
}

.final-cta p {
    max-width: 520px;
    color: rgba(255,255,255,.68);
    line-height: 1.6;
}

.ai-box {
    min-width: 260px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 23px;
    color: var(--deep);
    background: white;
    border-radius: 15px;
}

.ai-box > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: white;
    background: var(--green);
    border-radius: 50%;
    font-size: 18px;
}

.ai-box strong,
.ai-box small {
    display: block;
}

.ai-box small {
    margin-top: 2px;
    color: #7b8882;
}


/* FOOTER */

footer {
    padding: 28px 0;
    color: rgba(255,255,255,.58);
    background: #01271d;
}

.footer-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-layout div {
    display: flex;
    flex-direction: column;
}

.footer-layout strong {
    color: white;
}

.footer-layout span {
    font-size: 11px;
}


/* TABLET */

@media (max-width: 1050px) {

    .header-layout {
        grid-template-columns: 1fr auto;
    }

    .service-nav {
        display: none;
    }

    .showcase-grid {
        grid-template-columns: 1fr 1fr;
    }

    .showcase-card {
        height: 330px;
    }

    .compare-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid,
    .price-top-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

}


/* MOBILE */

@media (max-width: 700px) {

    .page {
        width: calc(100% - 26px);
    }

    .header-layout {
        min-height: 92px;
        grid-template-columns: 1fr;
    }

    .logo-symbol {
        width: 50px;
        height: 50px;
    }

    .logo-copy strong {
        font-size: 30px;
    }

    .quality-note {
        display: none;
    }

    .showcase {
        padding-top: 35px;
    }

    .showcase-grid,
    .compare-grid,
    .services-grid,
    .price-top-grid,
    .tables-grid,
    .gallery-grid,
    .rut-layout,
    .price-heading {
        grid-template-columns: 1fr;
    }

    .showcase-card {
        height: 350px;
    }

    .ornament-heading {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ornament-heading > span {
        display: none;
    }

    .ornament-heading div {
        min-width: 0;
    }

    .compare-image {
        height: 390px;
    }

    .services-section,
    .gallery-section,
    .pricing,
    .rut-info {
        padding: 70px 0;
    }

    .section-title {
        text-align: left;
    }

    .gallery-wide {
        grid-row: span 1;
    }

    .gallery-grid {
        grid-auto-rows: 340px;
    }

    .price-heading {
        gap: 12px;
    }

    .office-price,
    .final-cta-layout,
    .footer-layout {
        align-items: stretch;
        flex-direction: column;
    }

    .office-price a {
        text-align: center;
    }

    .rut-layout {
        gap: 25px;
    }

    .rut-layout > div:last-child {
        padding-left: 18px;
    }

    .ai-box {
        min-width: 0;
    }

}


/* =========================================
   HFS – jämnt premiumgalleri
   ========================================= */

.gallery-section {
    padding: 78px 0 88px;
    background: #ffffff;
}

.gallery-section .section-title {
    margin-bottom: 32px;
}

.gallery-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 12px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    height: 300px;
    margin: 0;
    border-radius: 12px;
    background: #edf1ef;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform .35s ease;
}

.gallery-card:hover img {
    transform: scale(1.025);
}

.gallery-card figcaption {
    position: absolute;
    left: 14px;
    bottom: 14px;

    padding: 9px 16px;

    color: #ffffff;
    background: rgba(5, 95, 67, .96);

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;

    box-shadow:
        0 5px 18px
        rgba(3, 68, 50, .18);
}

.gallery-wide {
    grid-row: auto !important;
}

@media (max-width: 1050px) {

    .gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .gallery-card {
        height: 330px;
    }
}

@media (max-width: 700px) {

    .gallery-section {
        padding: 62px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-card {
        height: 350px;
    }
}


/* =========================================
   HFS – featured helhetsresultat
   ========================================= */

.gallery-grid {
    grid-template-columns:
        1fr 1.35fr 1fr 1fr;
}

.gallery-featured {
    height: 300px;
}

.gallery-featured img {
    object-position: center center;
}

.gallery-featured figcaption {
    padding: 10px 18px;
    font-size: 13px;
}


/* Tablet */

@media (max-width: 1050px) {

    .gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .gallery-featured {
        grid-column: span 2;
        height: 390px;
    }

}


/* Mobil */

@media (max-width: 700px) {

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-featured {
        grid-column: auto;
        height: 390px;
    }

}


/* HFS – övre bildrad premium layout */

.showcase-grid {
    grid-template-columns:
        1fr 1.35fr 1fr 1fr;
    align-items: stretch;
}

.showcase-card,
.showcase-card.showcase-featured {
    height: 330px;
}

.showcase-featured img {
    object-position: center center;
}


/* Tablet */

@media (max-width: 1050px) {

    .showcase-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .showcase-featured {
        grid-column: span 2;
    }
}


/* Mobil */

@media (max-width: 700px) {

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-featured {
        grid-column: auto;
    }

}
