/*
Theme Name: Ragas Zorg | UnoWeb
Theme URI: https://ragaszorg.nl/
Author: UnoWeb
Author URI: https://unoweb.nl/
Description: Een WordPress-thema voor Ragas Zorg, met een eigen homepage en ondersteuning voor Contact Form 7.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: ragaszorg-unoweb
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
    font-family: Lato;
    src: url("assets/fonts/lato-latin-300-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: Lato;
    src: url("assets/fonts/lato-latin-400-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Lato;
    src: url("assets/fonts/lato-latin-700-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: Roboto;
    src: url("assets/fonts/roboto-latin-400-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Roboto;
    src: url("assets/fonts/roboto-latin-500-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: Roboto;
    src: url("assets/fonts/roboto-latin-700-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --teal: #0ebeb1;
    --teal-dark: #087970;
    --mint: #eaf6f5;
    --ink: #41464b;
    --body: #5f666b;
    --muted: #687278;
    --rule: #e8ecec;
    --wide: 1180px;
    --header-inset: 60px;
    --heading: Lato, Arial, sans-serif;
    --text: Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--body); background: #fff; font: 16px/1.7 var(--text); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--ink); font: 300 1.5rem/1.24 var(--heading); margin: 0 0 .72em; }
p { margin: 0 0 1.15em; }
a { color: var(--teal-dark); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #086c63;
    outline-offset: 4px;
}
[hidden] { display: none !important; }
.container { width: min(calc(100% - 64px), var(--wide)); margin-inline: auto; }
.screen-reader-text:not(:focus) {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
}
.skip-link:focus { position: absolute; z-index: 20; left: 16px; top: 12px; background: white; padding: 8px 14px; }
.dashicons { vertical-align: middle; }

.site-header { position: relative; z-index: 5; padding-top: var(--header-inset); margin-bottom: calc(-1 * (var(--header-inset) + 90px)); }
.header-inner { display: flex; align-items: center; gap: 35px; min-height: 90px; background: #fff; padding: 0 20px; }
.site-logo, .custom-logo-link { display: inline-flex; align-items: center; flex: none; width: 255px; color: var(--ink); text-decoration: none; }
.site-logo img, .custom-logo-link img { width: auto; max-width: 100%; max-height: 69px; object-fit: contain; }
.site-logo > span { font: 300 clamp(32px, 3vw, 48px)/1 var(--heading); letter-spacing: -.04em; white-space: nowrap; }
.site-logo b { color: #00a8ae; font-weight: 700; }
.logo-divider { margin-inline: 4px 6px; }
.site-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.site-menu a {
    position: relative;
    display: block;
    padding: 0 20px;
    border-right: 1px solid #f1f1f1;
    color: #42474a;
    font: 400 14px/60px var(--text);
    text-decoration: none;
    white-space: nowrap;
}
.site-menu li:last-child a { border-right: 0; }
.site-menu a:hover, .site-menu a[aria-current="page"], .site-menu .current-menu-item > a { color: var(--teal-dark); }
.site-menu a[aria-current="page"]::before, .site-menu .current-menu-item > a::before {
    content: "";
    position: absolute;
    height: 4px;
    inset: -19px 0 auto;
    background: var(--teal);
}
.menu-button { display: none; color: var(--teal-dark); background: #eef8f7; border: 1px solid #d8edeb; border-radius: 4px; padding: 8px 11px; font: inherit; cursor: pointer; }
.menu-button .dashicons { margin-right: 2px; }

.hero, .page-banner { position: relative; isolation: isolate; background: linear-gradient(125deg, #c8e9e8, #f0f9f8 63%, #d5efee); overflow: hidden; }
.hero-background { position: absolute; z-index: -1; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: center top; }
.hero-inner {
    min-height: clamp(580px, 39.1vw, 750px);
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    align-items: center;
    padding: calc(var(--header-inset) + 116px) 50px 58px;
    gap: 38px;
}
.hero-inner--solo { grid-template-columns: 1fr; }
.hero-inner--solo .hero-copy { max-width: 645px; }
.hero-copy { align-self: start; margin-top: clamp(45px, 5.6vw, 106px); text-align: center; color: #111; }
.hero-copy h1 { margin: 0 0 .86em; color: #0a0a0a; font: 400 clamp(36px, 2.65vw, 54px)/1.12 Arial, sans-serif; }
.hero-copy h1 span { color: var(--teal); }
.hero-copy p { text-align: left; font: 400 clamp(17px, 1.3vw, 25px)/1.18 Arial, sans-serif; margin: 0 0 2.05em; }
.hero-visual { align-self: end; display: flex; justify-content: center; }
.hero-visual img { width: min(100%, clamp(310px, 21.3vw, 430px)); max-height: clamp(345px, 23vw, 470px); object-fit: contain; object-position: center bottom; }
@media (min-width: 781px) {
    .hero-visual--original {
        position: absolute;
        left: calc(50% + clamp(140px, 12.8vw, 246px));
        bottom: -10px;
        transform: translateX(-50%);
    }
    .hero-visual--original img { width: clamp(300px, 22.4vw, 430px); max-width: none; max-height: none; }
}
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 19px; border: 0; border-radius: 4px; text-decoration: none; font: 500 13px/1.35 var(--text); cursor: pointer; }
.button-primary { color: #fff; background: var(--teal-dark); }
.button-primary:hover { background: #075f58; color: #fff; }
.hero .button-primary { min-height: 56px; }
.button-quiet { color: #525b60; background: #f0f2f2; }
.button-quiet:hover { color: #0b655f; background: #e1f3f1; }
.button .dashicons { width: 17px; height: 17px; font-size: 17px; }

.home-services { padding: 48px 0 39px; background: #f9f9f9; text-align: center; }
.section-title { margin-bottom: .37em; font-size: clamp(30px, 3vw, 40px); }
.title-markers::before, .title-markers::after { content: ""; display: inline-block; vertical-align: .16em; border: .23em solid transparent; }
.title-markers::before { border-left: .37em solid var(--teal); margin-right: .2em; }
.title-markers::after { border-right: .37em solid var(--teal); margin-left: .2em; }
.section-intro { margin-bottom: 51px; color: var(--muted); }
.highlight-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 48px; }
.highlight { display: block; color: var(--body); text-decoration: none; }
.icon-circle { display: grid; place-items: center; width: 110px; height: 110px; margin: 0 auto 21px; border-radius: 50%; border: 1px solid #e7e8e8; box-shadow: 0 0 0 8px #f5f5f5, inset 0 1px 5px #00000006; background: repeating-linear-gradient(48deg, #fff, #fff 6px, #fafafa 6px, #fafafa 8px); color: var(--teal); }
.icon-circle .dashicons { font-size: 49px; width: 49px; height: 49px; }
.highlight h3, .fact h3 { margin: 0 0 .48em; font-size: 21px; }
.highlight:hover h3 { color: var(--teal-dark); text-decoration: underline; }
.highlight p, .fact p { font-size: 13px; line-height: 1.65; margin: 0; }

.home-welcome { padding: 60px 0 54px; background: var(--mint); }
.welcome-grid { display: grid; grid-template-columns: minmax(0, 2.08fr) repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.welcome-photo { width: 100%; aspect-ratio: 2.31; object-fit: cover; margin-bottom: 25px; }
.welcome-copy h2 { font-size: 25px; margin-bottom: .4em; }
.welcome-copy p { margin-bottom: 1.65em; line-height: 1.74; }
.welcome-copy p:last-child { margin-bottom: 0; }
.hours-card, .contact-card { isolation: isolate; position: relative; padding: 24px 25px; overflow: hidden; font-size: 13px; }
.hours-card h2, .contact-card h2 { font-size: 24px; }
.hours-card { border: 1px solid var(--rule); background: #fff; }
.card-art { position: absolute; z-index: -1; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); object-fit: contain; }
.hours-card dl { margin: 18px 0 0; text-align: center; }
.hours-card dl div { padding: 8px 0 3px; }
.hours-card dl div + div { margin-top: 7px; border-top: 1px dashed #e7eaea; }
.hours-card dt { display: inline-block; background: #f4f6f6; padding: 0 7px; font-size: 12px; }
.hours-card dd { margin: 2px 0 0; font-size: 21px; color: var(--teal-dark); }
.hours-card sup { font-size: .58em; vertical-align: .28em; }
.contact-card { background: var(--teal); color: #083d39; }
.contact-card h2 { color: #083d39; }
.contact-card ul { list-style: none; padding: 0; margin: 0; }
.contact-card li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 15px; align-items: start; padding: 10px 0; line-height: 1.25; }
.contact-card li + li { border-top: 1px solid #ffffff39; }
.contact-card a { color: inherit; overflow-wrap: anywhere; }

.home-facts { padding: 59px 0 58px; }
.eyebrow { margin: 0 0 4px; text-align: center; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.home-facts .section-title { text-align: center; color: var(--teal-dark); padding-bottom: 18px; margin: 0 0 47px; border-bottom: 1px solid var(--rule); }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 45px 28px; }
.fact { display: grid; grid-template-columns: 66px 1fr; gap: 20px; }
.fact .dashicons { width: 100%; height: auto; text-align: center; font-size: 47px; color: var(--teal); }
.fact h3 { margin-bottom: .27em; }

.site-footer { background: #515151; color: #eee; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 90px; padding-block: 14px; }
.footer-inner p { margin: 0; }
.footer-inner p span { margin-left: .55em; }
.footer-inner p a { color: white; }
.back-to-top { display: grid; place-items: center; width: 42px; height: 42px; flex: none; background: #f9f9f9; color: #515151; border-radius: 4px; text-decoration: none; }

.page-banner { padding: calc(var(--header-inset) + 112px) 0 30px; }
.page-banner-inner { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.page-banner h1 { font-size: clamp(36px, 4vw, 54px); margin: 0; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; flex-wrap: wrap; }
.standard-content { padding-block: 58px 65px; min-height: 45vh; }
body:not(.home) .site-header + .standard-content { padding-top: calc(var(--header-inset) + 122px); }
.standard-content h2 { font-size: 29px; }
.prose { max-width: 875px; }
.prose + .prose { margin-top: 34px; }
.prose ul { padding-left: 1.35em; }
.about-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-card { background: var(--mint); padding: 29px; }
.about-card img { height: 115px; width: auto; margin-bottom: 20px; object-fit: contain; }
.service-detail { display: grid; grid-template-columns: 86px 1fr; gap: 28px; max-width: 930px; padding: 27px 0; border-bottom: 1px solid var(--rule); }
.service-detail:first-child { padding-top: 0; }
.service-detail h2 { margin-bottom: .34em; }
.service-detail h3 { font-size: 20px; color: var(--teal-dark); }
.service-detail p { margin-bottom: .65em; }
.service-detail ul { margin: 0; padding-left: 20px; }
.service-detail li::marker { color: var(--teal-dark); }
.service-detail-icon img { width: 100%; }
.service-detail-icon .dashicons, .contact-details .dashicons { width: 52px; height: 52px; font-size: 52px; color: var(--teal); }
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; text-align: center; }
.contact-details--phone { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-details > div { background: var(--mint); padding: 25px 12px; overflow-wrap: anywhere; }
.contact-details h2 { margin: .4em 0 .22em; font-size: 23px; }
.contact-details p { margin: 0; }
.contact-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 45px; margin-top: 54px; }
.wpcf7 label { display: block; color: var(--ink); }
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .wpcf7 textarea {
    width: 100%;
    margin-top: 4px;
    border: 1px solid #cddbd9;
    padding: 10px 12px;
    font: inherit;
    color: var(--ink);
    background: #fbfdfd;
    border-radius: 3px;
}
.wpcf7 textarea { min-height: 128px; resize: vertical; }
.wpcf7 input[type="submit"] { min-height: 44px; border: 0; border-radius: 4px; padding: 10px 18px; background: var(--teal-dark); color: white; font: inherit; cursor: pointer; }

@media (max-width: 1020px) {
    :root { --header-inset: 36px; }
    .header-inner { gap: 21px; }
    .site-logo, .custom-logo-link { width: 205px; }
    .site-menu a { padding-inline: 13px; }
    .hero-inner { padding-inline: 26px; }
    .welcome-grid { grid-template-columns: minmax(0, 1.65fr) repeat(2, minmax(0, 1fr)); gap: 15px; }
    .hours-card, .contact-card { padding: 19px 16px; }
    .fact { grid-template-columns: 42px 1fr; gap: 13px; }
    .fact .dashicons { font-size: 38px; }
}

@media (max-width: 780px) {
    :root { --header-inset: 22px; }
    .container { width: calc(100% - 40px); }
    .site-header { margin-bottom: calc(-1 * (var(--header-inset) + 68px)); }
    .header-inner { position: relative; justify-content: space-between; min-height: 68px; padding: 8px 14px; flex-wrap: wrap; }
    .site-logo, .custom-logo-link { width: min(195px, 56%); }
    .site-logo img, .custom-logo-link img { max-height: 50px; }
    .menu-button:not([hidden]) { display: inline-flex; align-items: center; }
    .menu-button:not([hidden]) + .site-nav { position: absolute; inset: 100% 0 auto; background: #fff; box-shadow: 0 12px 18px #15363313; }
    .menu-button[aria-expanded="false"]:not([hidden]) + .site-nav { display: none; }
    .site-menu { flex-wrap: wrap; }
    .menu-button:not([hidden]) + .site-nav .site-menu { display: block; }
    .site-menu a { line-height: 44px; border: 0; }
    .site-menu a[aria-current="page"]::before, .site-menu .current-menu-item > a::before { inset: 0 auto 0 0; width: 3px; height: auto; }
    .hero-inner { min-height: 490px; gap: 20px; padding: calc(var(--header-inset) + 86px) 5px 40px; }
    .hero-copy { margin-top: 22px; align-self: center; }
    .hero-copy p { text-align: center; }
    .hero-visual--original img { width: auto; max-height: 310px; }
    .desktop-break { display: none; }
    .highlight-grid, .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .welcome-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
    .welcome-copy { grid-column: 1 / -1; }
    .page-banner { padding-top: calc(var(--header-inset) + 90px); }
    body:not(.home) .site-header + .standard-content { padding-top: calc(var(--header-inset) + 98px); }
}

@media (max-width: 520px) {
    .hero-inner { grid-template-columns: 1fr; gap: 12px; padding-bottom: 0; }
    .hero-inner--solo { min-height: 390px; padding-bottom: 36px; }
    .hero-copy h1 { font-size: 35px; margin-bottom: .45em; }
    .hero-copy p { margin-bottom: 1.15em; }
    .hero .button-primary { min-height: 46px; }
    .hero-visual img { width: auto; max-height: 260px; max-width: 100%; }
    .hero-visual--original img { max-height: 300px; margin-block: -45px -39px; }
    .home-services, .home-welcome, .home-facts { padding-block: 38px; }
    .section-intro { margin-bottom: 28px; }
    .title-markers::before, .title-markers::after { display: none; }
    .highlight-grid { gap: 26px 14px; margin-bottom: 26px; }
    .icon-circle { width: 74px; height: 74px; margin-bottom: 14px; box-shadow: 0 0 0 5px #f5f5f5; }
    .icon-circle .dashicons { width: 34px; height: 34px; font-size: 34px; }
    .highlight h3, .fact h3 { font-size: 19px; }
    .welcome-grid, .facts-grid, .about-grid, .contact-details, .contact-body { grid-template-columns: 1fr; }
    .facts-grid { gap: 24px; }
    .welcome-copy { grid-column: auto; }
    .home-facts .section-title { margin-bottom: 24px; }
    .standard-content { padding-block: 35px 45px; }
    .page-banner-inner { display: block; }
    .breadcrumbs { margin-top: 10px; }
    .service-detail { grid-template-columns: 50px 1fr; gap: 14px; }
    .service-detail h2 { font-size: 24px; }
    .contact-body { gap: 18px; margin-top: 32px; }
    .footer-inner p span { display: block; margin-left: 0; }
}
