/* Heatherfield - main stylesheet */

/* alap */
html {
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.75em;
    letter-spacing: .03em;
    color: #5E6062;
    background: #FFF;
}
* , *:before, *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
a {
    color: #0077AD;
    text-decoration: none;
}
a:hover, a:focus {
    color: #005A83;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #E9994A;
    outline-offset: 2px;
}
h1, h2, h3, h4 {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #4A4C4E;
    margin: 0 0 20px;
    text-wrap: balance;
}
p {
    margin: 0 0 15px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}
.skip {
    position: absolute;
    left: 10px;
    top: -50px;
    z-index: 50;
    background: #FFF;
    padding: 8px 12px;
}
.skip:focus {
    top: 10px;
}

/* rács (a régi bootstrap 3 nevei) */
.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}
.row {
    margin: 0 -15px;
}
.row:after, .clearfix:after {
    content: "";
    display: table;
    clear: both;
}
.col-xs-12, .col-sm-6, .col-md-3, .col-lg-4, .col-md-4, .col-md-6, .col-md-8, .col-md-12 {
    position: relative;
    min-height: 1px;
    min-width: 0;
    padding: 0 15px;
    float: left;
    width: 100%;
}
@media (min-width: 768px) {
    .col-sm-6 { width: 50%; }
}
@media (min-width: 992px) {
    .col-md-3 { width: 25%; }
    .col-md-4 { width: 33.3333%; }
    .col-md-6 { width: 50%; }
    .col-md-8 { width: 66.6667%; }
    .col-md-12 { width: 100%; }
}
@media (min-width: 1200px) {
    .col-lg-4 { width: 33.3333%; }
}
.mb-sm-30 { margin-bottom: 30px; }
.text-center { text-align: center; }

/* fejléc */
.navbar-default {
    background: #FFF;
    border-bottom: 1px solid #ECECEC;
    position: relative;
    z-index: 20;
}
.navbar-default .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 75px;
}
.navbar-brand img {
    width: 240px;
    height: auto;
}
.navbar-nav {
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
}
.navbar-nav li {
    display: inline-block;
    margin-left: 28px;
}
.navbar-nav a {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #4A4C4E;
}
.navbar-nav a:hover, .navbar-nav .active a {
    color: #9C5517;
}
.navbar-city {
    margin-left: 34px;
    padding-left: 14px;
    border-left: 1px solid #DBDBDB;
    font-size: 13px;
    color: #616365;
}
.navbar-toggle {
    display: none;
    margin-left: auto;
    background: none;
    border: 1px solid #DBDBDB;
    padding: 9px 10px;
    cursor: pointer;
}
.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #616365;
}
.navbar-toggle .icon-bar + .icon-bar {
    margin-top: 4px;
}

/* nyitókép */
.home-hero {
    position: relative;
    min-height: 490px;
    background: #6F8FA6;
    overflow: hidden;
}
.home-hero img.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.home-hero:before {
    /* középre tett szöveg miatt a sötétítés egyenletes */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40,62,80,.55);
    z-index: 1;
}
.home-hero .container {
    text-align: center;
    position: relative;
    z-index: 2;
    padding-top: 160px;
    padding-bottom: 70px;
}
.home-hero h1 {
    color: #FFF;
    font-weight: 300;
    font-size: clamp(24px, 3.6vw, 44px);
    line-height: 1.15em;
    letter-spacing: .14em;
    margin-bottom: 40px;
}
.home-hero h1 b {
    font-weight: 500;
}
.orange-btn {
    display: inline-block;
    padding: 14px 36px;
    background: #E9994A;
    color: #2E2216;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: .22em;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    -webkit-transition: background .25s;
    transition: background .25s;
}
.orange-btn:hover, .orange-btn:focus {
    background: #D9822F;
    color: #1F160D;
}
.orange-btn-inverse {
    display: inline-block;
    padding: 6px 30px;
    border: 2px solid #E9994A;
    color: #9C5517;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.orange-btn-inverse:hover {
    background: #E9994A;
    color: #FFF;
}

/* szekciók */
.section-title {
    text-align: center;
    font-size: 24px;
    letter-spacing: .2em;
    margin-bottom: 40px;
}
.home-services {
    position: relative;
    padding: 110px 0 120px;
    overflow: hidden;
}
.home-services:before {
    content: "";
    position: absolute;
    width: 900px;
    height: 900px;
    right: -380px;
    top: 0;
    border-radius: 50%;
    background: #F2F2F2;
}
.home-services .container {
    position: relative;
}
.main-index-box {
    background: #FFF;
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,.18);
    box-shadow: 0 2px 4px rgba(0,0,0,.18);
    margin-bottom: 30px;
}
.main-index-box img {
    width: 100%;
    aspect-ratio: 4 / 3;
    -o-object-fit: cover;
    object-fit: cover;
}
.home-services-text {
    padding: 34px 40px 30px;
    text-align: justify;
}
.home-services-text h3 {
    text-align: center;
    color: #0077AD;
    font-size: 17px;
    letter-spacing: .16em;
    line-height: 1.3em;
}
.home-services-text .price {
    display: block;
    text-align: center;
    font-size: 13px;
    color: #616365;
    margin: -8px 0 16px;
}
.learn-more {
    display: block;
    text-align: right;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #9C5517;
    margin-top: 20px;
}

/* sötétszürke sáv: szöveg, nem számláló */
.home-counter {
    background: #DBDBDB;
    padding: 0 0 40px;
}
.home-counter .counter-wrap {
    background: #616365;
    padding: 60px 30px;
    color: #F0F0F0;
}
.count-item {
    border-right: 3px solid #FFF;
    padding: 6px 26px;
}
.count-item.m-no-border-right {
    border-right: 0;
}
.count-item h3 {
    color: #CFEFC2;
    font-size: 15px;
    letter-spacing: .18em;
    margin-bottom: 10px;
}
.count-item p {
    margin: 0;
    font-size: 14px;
}

/* a módszer három lépésben */
.home-process {
    background: #F4F4F4;
    padding: 110px 0;
}
.home-process .process-icon {
    display: block;
    margin: 0 auto 18px;
    width: 46px;
    height: 46px;
    stroke: #616365;
    fill: none;
    stroke-width: 1.4;
}
.ft-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 30px;
}
.ft-item .big-num {
    position: absolute;
    left: 0;
    top: -26px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: 130px;
    line-height: 1;
    color: #D6D6D6;
}
.ft-item h3 {
    position: relative;
    color: #9C5517;
    font-size: 19px;
    letter-spacing: .2em;
}
.ft-item p {
    position: relative;
    text-align: justify;
}

/* kinek szól: fotós csempék */
.home-clients {
    padding: 100px 0 0;
}
.p-wrapper {
    position: relative;
    display: block;
    height: 320px;
    overflow: hidden;
    color: #FFF;
}
.p-wrapper img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: -webkit-transform .5s;
    transition: transform .5s;
}
.p-wrapper:hover img {
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
}
.p-hover {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background: rgba(70,72,74,.78);
    padding: 22px 26px;
    text-align: center;
}
.p-hover h3 {
    color: #FFF;
    font-weight: 300;
    font-size: 20px;
    margin: 0 0 6px;
}
.p-hover p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5em;
}
.portfolio-item {
    padding: 0;
}

/* nyolc szombat */
.home-calendar {
    padding: 100px 0;
}
.saturday-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid #E9994A;
}
.saturday-list li {
    position: relative;
    padding: 0 0 22px 30px;
}
.saturday-list li:before {
    content: "";
    position: absolute;
    left: -7px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFF;
    border: 2px solid #E9994A;
}
.saturday-list .date {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #9C5517;
}
.fee-box {
    background: #F8F8F8;
    padding: 34px 32px;
    border-top: 3px solid #0077AD;
}
.fee-box h3 {
    font-size: 16px;
    letter-spacing: .16em;
}
.fee-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #E2E2E2;
    padding: 10px 0;
}
.fee-row b {
    font-weight: 500;
    color: #4A4C4E;
    white-space: nowrap;
}
.notice {
    margin-top: 26px;
    padding: 20px 22px;
    background: #FFF;
    border-left: 3px solid #E9994A;
    font-size: 14px;
}

/* nyílt nap */
.home-openday {
    background: #00628F;
    color: #FFF;
    padding: 4.5rem 0;
}
.home-openday h2 {
    color: #FFF;
    font-size: 1.35rem;
    letter-spacing: .14em;
}
.openday-left {
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #FFF;
    min-height: 1.5em;
}
.openday-cta {
    text-align: center;
    padding-top: 2.2rem;
}
.openday-small {
    margin-top: 14px;
    font-size: .85rem;
}

/* jegyzetek */
.home-insight {
    background: #F8F8F8;
    padding: 100px 0;
}
.blog-post {
    background: #FFF;
    padding: 46px 40px 40px;
    margin-bottom: 30px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.12);
    box-shadow: 0 1px 1px rgba(0,0,0,.12);
}
.blog-post {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 34px;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}
.blog-post img {
    width: 260px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    aspect-ratio: 3 / 2;
    -o-object-fit: cover;
    object-fit: cover;
}
.blog-post .post-body {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}
.post-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #616365;
    margin-bottom: 20px;
}
.post-title {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .14em;
    line-height: 1.35em;
    color: #4A4C4E;
}
.post-author {
    color: #9C5517;
    font-size: 14px;
    margin-bottom: 26px;
}

/* űrlap */
.home-form {
    padding: 100px 0 110px;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #4A4C4E;
    margin-bottom: 6px;
}
.form-control {
    display: block;
    width: 100%;
    padding: 11px 12px;
    font: 300 16px 'Roboto', Helvetica, Arial, sans-serif;
    color: #333;
    border: 1px solid #C4C4C4;
    border-radius: 0;
    background: #FFF;
}
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}
.has-error .form-control {
    border-color: #B3261E;
}
.help-block {
    display: block;
    min-height: 20px;
    font-size: 13px;
    color: #B3261E;
    margin-top: 4px;
}
.checkbox label {
    text-transform: none;
    letter-spacing: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 10px;
}
.checkbox input {
    margin-top: 5px;
    accent-color: #9C5517;
}
.alert-success {
    padding: 24px 26px;
    background: #EEF6EA;
    border-left: 3px solid #5E9E46;
    color: #2F4F23;
}
.alert-success[hidden] {
    display: none;
}
.alert-success:target {
    display: block;
    margin-bottom: 30px;
}

/* footer */
.footer {
    background: #616365;
    color: #E6E6E6;
    padding: 90px 0 40px;
}
.footer h4 {
    color: #FFF;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .14em;
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid #E9994A;
}
.footer ul {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}
.footer li {
    margin-bottom: 6px;
}
.footer a {
    color: #FFF;
}
.footer address {
    font-style: normal;
}
.footer address a {
    color: #FBD9B6;
}
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
}
.footer-bottom a, .footer-bottom button {
    color: #FBD9B6;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}
.footer-bottom .sep {
    margin: 0 8px;
    color: #BDBDBD;
}

/* süti ablak */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: rgba(30,32,34,.55);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 15px;
}
.cookie-modal[hidden] {
    display: none;
}
.cookie-dialog {
    background: #FFF;
    max-width: 520px;
    width: 100%;
    padding: 32px 30px;
    border-top: 4px solid #E9994A;
}
.cookie-dialog h2 {
    font-size: 17px;
}
.cookie-cat {
    border-top: 1px solid #ECECEC;
    padding: 12px 0;
    font-size: 14px;
}
.cookie-cat label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 10px;
    font-weight: 400;
}
.cookie-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.cookie-actions .orange-btn, .cookie-actions .grey-btn {
    font-size: 12px;
    padding: 11px 18px;
}
.grey-btn {
    background: #FFF;
    border: 2px solid #616365;
    color: #4A4C4E;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
    cursor: pointer;
}

/* belső lapok */
.page-banner {
    background: #616365;
    padding: 70px 0 60px;
    color: #F0F0F0;
}
.page-banner h1 {
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    color: #FFF;
    font-weight: 300;
    font-size: clamp(24px, 3.2vw, 36px);
    letter-spacing: .16em;
    margin: 0;
}
.page-banner .lead {
    margin: 16px 0 0;
    max-width: 760px;
}
.crumbs {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.crumbs li {
    display: inline;
}
.crumbs li + li:before {
    content: " > ";
    color: #E9994A;
}
.crumbs a {
    color: #FBD9B6;
}
.page-body {
    padding: 80px 0 90px;
}
.page-body h2 {
    font-size: 18px;
    letter-spacing: .16em;
    color: #0077AD;
    margin-top: 40px;
}
.page-body h2:first-child {
    margin-top: 0;
}
.page-body .side-box {
    background: #F8F8F8;
    padding: 28px 26px;
    border-top: 3px solid #E9994A;
}
.page-body figure {
    margin: 30px 0;
}
.page-body figure img {
    width: 100%;
    aspect-ratio: 2 / 1;
    -o-object-fit: cover;
    object-fit: cover;
}
.page-body figcaption {
    font-size: 13px;
    color: #616365;
    margin-top: 6px;
}
.legal-text h2 {
    font-size: 15px;
    color: #4A4C4E;
}

/* mobil */
@media (max-width: 991px) {
    .navbar-toggle {
        display: block;
    }
    .navbar-default .container {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .navbar-nav {
        display: none;
        width: 100%;
        margin: 0 0 14px;
    }
    .navbar-nav.in {
        display: block;
    }
    .navbar-nav li {
        display: block;
        margin: 0;
        border-top: 1px solid #ECECEC;
    }
    .navbar-nav a {
        display: block;
        padding: 12px 0;
    }
    .navbar-city {
        display: none;
    }
    .count-item {
        border-right: 0;
        border-bottom: 1px solid #8A8C8E;
        padding: 16px 0;
    }
    .p-wrapper {
        height: 240px;
    }
}
@media (max-width: 767px) {
    .navbar-brand img {
        width: 190px;
    }
    .home-hero .container {
        padding-top: 90px;
    }
    .home-services, .home-process, .home-calendar, .home-insight, .home-form {
        padding: 60px 0;
    }
    .home-services-text {
        padding: 26px 22px;
        text-align: left;
    }
    .ft-item {
        padding-left: 56px;
    }
    .ft-item .big-num {
        font-size: 90px;
        top: -14px;
    }
    .ft-item p {
        text-align: left;
    }
    .blog-post {
        padding: 30px 24px;
        display: block;
    }
    .blog-post img {
        width: 100%;
        margin-bottom: 18px;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        -webkit-transition: none !important;
        transition: none !important;
    }
}
