/*
Theme Name: Silver Touch
Theme URI: https://silvertouch.dk
Author: Silver Touch
Description: Tema til Silver Touch, et rengøringsfirma i Herning. Rengøring af virksomheder i alle størrelser, private hjem og vinduespolering.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: silvertouch
*/

:root {
    --ink: #172421;
    --muted: #3e514d;
    --pine: #1d4f48;
    --pine-deep: #143532;
    --night: #102c2a;
    --copper: #8d4b22;
    --copper-dark: #733d1b;
    --sand: #f3e6d4;
    --paper: #f6f4f0;
    --line: #d7e0dc;
    --white: #fff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

a {
    color: var(--copper);
}

:focus-visible {
    outline: 2px solid var(--copper);
    outline-offset: 2px;
}

::selection {
    background: #d7ebe4;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    background: var(--white);
    color: var(--ink);
    padding: 0.5rem 0.8rem;
}

.skip-link:focus {
    top: 0.5rem;
}

.wrap {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
}

.trust-bar {
    background: var(--night);
    color: #e7f0ee;
    font-size: 0.82rem;
}

.trust-bar ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.4rem;
    list-style: none;
    margin: 0;
    padding: 0.55rem 0;
}

.trust-bar li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.icon {
    width: 1.35rem;
    height: 1.35rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-bar .icon {
    width: 0.95rem;
    height: 0.95rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(246, 244, 240, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(16, 36, 34, 0.08);
}

.header-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    min-height: 4.6rem;
}

.logo,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: inherit;
}

.custom-logo {
    max-height: 52px;
    width: auto;
}

.logo-mark {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--pine);
    border: 1px solid #c9d5d0;
    background: var(--white);
    flex: none;
}

.logo-mark .icon {
    width: 1.3rem;
    height: 1.3rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 500;
    white-space: nowrap;
}

.logo-tag {
    margin-top: 0.15rem;
    font-size: 0.75rem;
    color: #5c6e69;
}

.site-nav {
    justify-self: end;
}

.menu {
    display: flex;
    gap: 1.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu a {
    text-decoration: none;
    color: #1c2e2a;
    font-weight: 600;
    padding: 0.25rem 0;
}

.menu a:hover,
.current-menu-item > a,
.current_page_item > a {
    color: var(--copper);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.phone-link {
    color: #17302c;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 3rem;
    padding: 0.7rem 1.15rem;
    border: 0;
    border-radius: 999px;
    background: var(--copper);
    color: var(--white);
    font: inherit;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    background: var(--copper-dark);
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid #c9d5d0;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    color: var(--ink);
}

.hero {
    padding: 3.2rem 0 2rem;
    background:
        radial-gradient(ellipse at 8% 0%, #e4f0ea 0%, transparent 52%),
        radial-gradient(ellipse at 92% 10%, #f3e6d6 0%, transparent 42%),
        var(--paper);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.kicker {
    margin: 0;
    color: var(--copper);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    margin: 0.25rem 0 0.8rem;
    font-size: clamp(2.3rem, 5vw, 3.7rem);
}

.lead {
    margin: 0;
    max-width: 38rem;
    color: #2c403c;
    font-size: 1.12rem;
    line-height: 1.6;
}

.hero-phone {
    margin: 1rem 0 0;
}

.hero-phone a {
    color: var(--pine);
    font-weight: 700;
}

.ticks {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.ticks li {
    position: relative;
    margin: 0.4rem 0;
    padding-left: 1.5rem;
}

.ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 0.7rem;
    height: 0.38rem;
    border-left: 2px solid var(--pine);
    border-bottom: 2px solid var(--pine);
    transform: rotate(-45deg);
}

.ticks.inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 1.15rem;
}

.ticks.inline li {
    margin: 0.2rem 0;
}

.form-card {
    background: var(--white);
    border: 1px solid rgba(20, 53, 50, 0.06);
    border-radius: 20px;
    padding: 1.35rem 1.25rem 1.2rem;
    box-shadow: 0 18px 50px rgba(16, 36, 34, 0.08);
    scroll-margin-top: 5.5rem;
}

.form-card h2 {
    margin: 0 0 0.3rem;
    font-size: 1.7rem;
}

.form-intro,
.form-help {
    margin: 0;
    color: var(--muted);
}

.form-intro {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.form-help {
    text-align: center;
    font-size: 0.82rem;
}

.form-card form {
    display: grid;
    gap: 0.75rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: #1c2e2a;
    font-size: 0.9rem;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.75rem 0.8rem;
    border: 1px solid #d3ddd8;
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-weight: 400;
}

.field textarea {
    min-height: 7rem;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #8a9894;
}

.form-card .btn {
    width: 100%;
}

.check {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    color: #3c4e4a;
    font-size: 0.88rem;
    font-weight: 400;
}

.check input {
    margin-top: 0.2rem;
    flex: none;
}

.form-note {
    margin: 0 0 0.8rem;
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    font-size: 0.92rem;
}

.form-note--ok {
    background: #e7f3ee;
    color: #145043;
}

.form-note--bad {
    background: #fdecea;
    color: #8a2b22;
}

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.facts {
    padding-bottom: 1rem;
}

.facts-grid,
.cards,
.steps,
.split,
.footer-grid {
    display: grid;
    gap: 0.85rem;
}

.facts-grid {
    grid-template-columns: repeat(4, 1fr);
}

.facts article,
.card,
.steps li,
.split > div {
    background: var(--white);
    border: 1px solid rgba(20, 53, 50, 0.06);
    border-radius: 18px;
}

.facts article {
    padding: 1rem 1rem 1.1rem;
}

.facts h2,
.card h3,
.steps h3,
.split h3 {
    margin: 0 0 0.35rem;
}

.facts h2 {
    font-size: 1.15rem;
}

.facts p,
.card p,
.steps p {
    margin: 0;
    color: var(--muted);
}

.section {
    padding: 4rem 0;
}

.band {
    background: var(--white);
}

.band .card,
.band .steps li {
    background: var(--paper);
}

.section-head {
    max-width: 40rem;
    margin-bottom: 1.5rem;
}

.section-head h2,
.cta-band h2 {
    margin: 0.25rem 0 0.55rem;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.cards {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.25rem 1.2rem 1.3rem;
}

.card h3 {
    font-size: 1.4rem;
}

.card p {
    flex: 1;
}

.card-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e7f0ec;
    color: var(--pine);
}

.text-link {
    color: var(--copper);
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.split {
    grid-template-columns: repeat(3, 1fr);
}

.split > div,
.steps li {
    padding: 1.25rem;
}

.steps {
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step;
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.75rem;
    border-radius: 50%;
    background: #e7f0ec;
    color: var(--pine);
    font-family: "Segoe UI", sans-serif;
    font-weight: 700;
}

.steps h3 {
    font-size: 1.3rem;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 1.1rem 0 0;
    padding: 0;
}

.pills li {
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
}

.cta-band {
    background: var(--pine-deep);
    color: #f4f7f6;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.8rem 0;
}

.cta-band h2 {
    color: var(--white);
}

.cta-band p {
    margin: 0;
    max-width: 36rem;
    color: #d5e2de;
}

.cta-band .btn {
    background: var(--sand);
    color: #1a2420;
}

.cta-band .btn:hover {
    background: var(--white);
    color: #1a2420;
}

.page-hero {
    padding: 2.8rem 0 0.4rem;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.15rem);
}

.narrow {
    max-width: 44rem;
    padding-bottom: 3rem;
}

.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 2rem;
    align-items: start;
    padding-bottom: 4rem;
}

.entry-content {
    font-size: 1.05rem;
}

.entry-content .lead {
    font-size: 1.2rem;
    color: #243833;
}

.entry-content h2 {
    margin: 2rem 0 0.5rem;
    font-size: 1.5rem;
}

.entry-content p,
.entry-content li {
    line-height: 1.7;
}

.entry-content ul {
    padding-left: 1.15rem;
}

.entry-content li {
    margin: 0.35rem 0;
}

.site-footer {
    background: #0e2422;
    color: #d5e0dc;
}

.footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    padding: 3rem 0 2rem;
}

.site-footer h2 {
    margin: 0 0 0.75rem;
    color: var(--white);
    font-size: 1.15rem;
}

.site-footer p {
    margin: 0 0 0.7rem;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    margin: 0.35rem 0;
}

.site-footer a {
    color: #f4f7f6;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.fineprint {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #b7c6c2;
    font-size: 0.85rem;
}

.fineprint p {
    margin: 0;
}

@media (max-width: 1080px) {
    .phone-link {
        display: none;
    }

    .header-bar {
        grid-template-columns: 1fr auto;
    }

    .logo,
    .custom-logo-link {
        grid-column: 1;
        grid-row: 1;
    }

    .header-tools {
        grid-column: 2;
        grid-row: 1;
    }

    .site-nav {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: stretch;
    }

    .site-nav.is-open {
        display: block;
        padding-bottom: 0.9rem;
    }

    .menu {
        flex-direction: column;
        gap: 0.15rem;
    }

    .menu a {
        display: block;
        padding: 0.5rem 0;
    }

    .nav-toggle {
        display: inline-flex;
    }
}

@media (max-width: 860px) {
    .hero-grid,
    .cards,
    .steps,
    .split,
    .page-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .facts-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        padding-top: 2.2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .logo-tag {
        display: none;
    }

    .logo-name {
        font-size: 1.12rem;
    }

    .logo-mark {
        width: 2.2rem;
        height: 2.2rem;
    }

    .header-tools .btn {
        min-height: 2.6rem;
        padding-inline: 0.7rem;
        font-size: 0.9rem;
    }

    .field-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .facts-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
