/* ================= BASE ================= */

body {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #333333;
    background: #f6f4ef;
}

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

img {
    border: 0;
    display: block;
    max-width: 100%;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, p {
    margin-top: 0;
}

.container {
    width: 1540px;
    margin: 0 auto;
}

.clear {
    clear: both;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #000000;
    color: #ffffff;
    padding: 10px 14px;
    z-index: 99999;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

a:focus,
button:focus,
input:focus {
    outline: 3px solid #d8c382;
    outline-offset: 2px;
}

/* ================= HEADER ================= */

.site-header {
    background: #ffffff;
}

.header-top {
    padding: 8px 0 10px 0;
    background: #ffffff;
}

.header-top-inner {
    display: grid;
    grid-template-columns: 300px 360px 420px;
    column-gap: 95px;
    align-items: center;
    justify-content: center;
}

.header-logo {
    padding-top: 0;
}

.site-logo {
    width: 205px;
    margin: 0 auto;
}

.header-middle {
    text-align: left;
    padding-top: 0;
}

.wishlist-link {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #444444;
    margin-bottom: 10px;
    line-height: 1;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 46px;
    width: 342px;
    margin: 0;
}

.search-box {
    height: 42px;
    line-height: 42px;
    padding: 0 16px;
    border: 1px solid #dddddd;
    font-family: 'Raleway', Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #333333;
    background: #f8f6f1;
    box-sizing: border-box;
}

.search-button {
    height: 42px;
    border: 0;
    background: #3f4345;
    color: #ffffff;
    font-size: 19px;
    cursor: pointer;
    line-height: 42px;
    padding: 0;
}

.header-right {
    text-align: left;
    padding-top: 0;
}

.top-email {
    display: inline-block;
    color: #444444;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.phone-button {
    display: inline-block;
    width: 285px;
    background: #3f4345;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 18px;
    border-radius: 2px;
    box-sizing: border-box;
    line-height: 1;
}

/* ================= NAV ================= */

.navbar {
    background: #3f4345;
}

.menu-toggle {
    display: none;
    background: #3f4345;
    color: #ffffff;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    border: 0;
    width: 100%;
    text-align: left;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 54px;
    gap: 0;
}

.nav li {
    position: relative;
}

.nav li a {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 18px 26px;
    white-space: nowrap;
    line-height: 18px;
}

.nav li.active > a,
.nav li > a:hover {
    background: #2d2f31;
}

.nav-arrow {
    font-size: 9px;
    margin-left: 7px;
    position: relative;
    top: -1px;
}

.nav li ul {
    display: none;
    position: absolute;
    top: 54px;
    left: 0;
    width: 260px;
    z-index: 9999;
    background: #3f4345;
}

.nav li:hover ul {
    display: block;
}

.nav li ul li {
    width: 260px;
}

.nav li ul li a {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 400;
    background: #3f4345;
    color: #ffffff;
}

.nav li ul li a:hover {
    background: #000000;
}

/* ================= HERO ================= */

.hero {
    height: 370px;
    background: url('assets/images/BannerI_1.jpg') center center no-repeat;
    background-size: cover;
    position: relative;
}

.hero-overlay {
    width: 100%;
    height: 370px;
    background: rgba(0, 0, 0, 0.20);
    text-align: center;
}

.hero h1 {
    margin: 0;
    padding-top: 125px;
    color: #ffffff;
    font-family: 'Corinthia', cursive;
    font-size: 76px;
    font-weight: 400;
}

/* ================= INTRO ================= */

.intro-section {
    padding: 38px 0 20px 0;
    text-align: center;
    background: #f6f4ef;
}

.lead {
    width: 1120px;
    margin: 0 auto 18px auto;
    font-size: 18px;
    line-height: 1.7em;
    color: #555555;
}

/* ================= MEMORIAL GRID ================= */

.memorial-grid-section {
    padding: 10px 0 26px 0;
    background: #f6f4ef;
}

.memorial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 30px;
}

.memorial-card {
    border: 1px solid #ddd3b4;
    background: #ffffff;
}

.memorial-image-wrap {
    height: 292px;
    background: #ffffff;
    text-align: center;
    overflow: hidden;
}

.memorial-image-wrap img {
    width: 100%;
    height: 292px;
    object-fit: contain;
    background: #ffffff;
}

.memorial-caption {
    background: #232427;
    color: #ffffff;
    text-align: center;
    padding: 22px 12px 18px 12px;
    min-height: 168px;
    box-sizing: border-box;
}

.memorial-caption h2 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 14px;
}

.caption-line {
    width: 92%;
    height: 1px;
    background: #d7d7d7;
    margin: 0 auto 14px auto;
}

.memorial-caption p {
    font-size: 17px;
    line-height: 1.5em;
    margin: 0;
}

/* ================= LONG COPY ================= */

.copy-section {
    background: #f6f4ef;
    padding: 10px 0 36px 0;
    text-align: center;
}

/* ================= SPECIAL OFFERS ================= */

.special-offers-section {
    background: #f6f4ef;
    padding: 22px 0 40px 0;
    text-align: center;
}

.special-offers-section h2 {
    font-size: 34px;
    color: #333333;
    font-weight: 400;
    margin-bottom: 12px;
}

.special-intro {
    font-size: 18px;
    color: #444444;
    margin-bottom: 35px;
}

.offers-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.offer-item {
    position: relative;
}

.offer-thumb {
    position: relative;
    border: 1px solid #bdb7a6;
    background: #ffffff;
    padding: 20px 20px 0 20px;
    height: 360px;
    box-sizing: border-box;
}

.offer-thumb img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: #ffffff;
}

.offer-search {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background: #2f3d43;
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
}

.offer-badge {
    position: absolute;
    top: -18px;
    right: -8px;
    width: 92px;
    height: 92px;
    border-radius: 46px;
    background: #a35d98;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.1em;
    text-align: center;
    padding-top: 24px;
    box-sizing: border-box;
    font-weight: 400;
}

.offer-title {
    border: 1px solid #bdb7a6;
    border-top: 0;
    background: #e9e6e1;
    color: #444444;
    font-size: 22px;
    line-height: 1.3em;
    padding: 16px 8px;
    min-height: 56px;
    box-sizing: border-box;
}

/* ================= CTA STRIP ================= */

.cta-strip {
    background: #212224;
    color: #ffffff;
    padding: 34px 0;
}

.cta-left {
    float: left;
    width: 980px;
}

.cta-left h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 12px;
}

.cta-left p {
    font-size: 18px;
    line-height: 1.5em;
    margin: 0;
}

.cta-right {
    float: right;
    width: 360px;
    text-align: right;
    padding-top: 8px;
}

.cta-button {
    display: inline-block;
    background: #d8c382;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 18px 24px;
    border-radius: 4px;
}

/* ================= FOOTER ================= */

.site-footer {
    background: url('assets/images/footer-bg.jpg') center center no-repeat;
    background-size: cover;
    color: #ffffff;
}

.footer-overlay {
    background: rgba(0, 0, 0, 0.58);
    padding: 72px 0 28px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 420px 420px 420px;
    gap: 28px;
}

.footer-col h2 {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 48px;
}

.footer-col p {
    font-size: 18px;
    line-height: 1.55em;
    margin-bottom: 22px;
    color: #f0f0f0;
}

.footer-col strong {
    font-weight: 700;
}

.footer-links li {
    border-bottom: 1px solid rgba(255,255,255,0.30);
    padding: 0;
}

.footer-links li a {
    display: block;
    color: #ffffff;
    font-size: 18px;
    padding: 12px 0;
}

.footer-bottom {
    text-align: center;
    color: #f0f0f0;
    font-size: 16px;
    padding-top: 40px;
}

/* ================= RESPONSIVE ================= */

@media screen and (max-width: 1600px) {
    .container {
        width: 96%;
    }

    .lead {
        width: 90%;
    }

    .header-top-inner {
        grid-template-columns: 24% 30% 30%;
        column-gap: 5%;
    }

    .site-logo {
        margin: 0 auto;
    }

    .search-form {
        width: 100%;
        max-width: 342px;
    }

    .phone-button {
        width: 100%;
        max-width: 285px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1200px) {
    .memorial-grid,
    .offers-row {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cta-left,
    .cta-right {
        float: none;
        width: 100%;
        text-align: left;
    }

    .cta-right {
        padding-top: 20px;
    }
}

@media screen and (max-width: 800px) {
    .header-top-inner {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .header-middle,
    .header-right,
    .header-logo {
        text-align: center;
    }

    .search-form {
        margin: 0 auto;
    }

    .phone-button {
        margin: 0 auto;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        width: 100%;
        height: auto;
        background: #3f4345;
        flex-direction: column;
    }

    .nav.mobile-open {
        display: block;
    }

    .nav li {
        display: block;
        width: 100%;
    }

    .nav li a {
        display: block;
        width: 100%;
        padding: 14px 18px;
        box-sizing: border-box;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .nav li ul {
        display: none;
        position: static;
        width: 100%;
        background: #2f3133;
    }

    .nav li.open ul {
        display: block;
    }

    .nav li ul li a {
        padding: 12px 30px;
        font-size: 13px;
        background: #2f3133;
    }

    .hero h1 {
        font-size: 56px;
        padding-top: 135px;
    }

    .memorial-grid,
    .offers-row {
        grid-template-columns: 1fr;
    }
}