:root {
    --cream: #f8f3ea;
    --ink: #1f261f;
    --moss: #526348;
    --gold: #c6a15b;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--white);
    background: var(--ink);
}

.hero {
    min-height: 100vh;
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 64px clamp(20px, 5vw, 90px);
    background-image: url('mount-jerome-dublin-grave-maintenance.jpg');
    background-size: cover;
    background-position: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 25, 16, 0.88), rgba(16, 25, 16, 0.52), rgba(16, 25, 16, 0.82));
}
.logo {

}
.content,
.form-card {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 16px 0px 16px 0px;
    text-transform: uppercase;
    letter-spacing: 0.6em;
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 700;
}

h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(1.85rem, 5vw, 5rem);
    line-height: 1;
}

.intro {
    max-width: 640px;
    margin: 28px 0;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 820px;
}

.benefits div {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(8px);
    border-radius: 18px;
}

.benefits strong,
.benefits span {
    display: block;
}

.benefits span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.45;
}

.form-card {
    justify-self: end;
    width: min(100%, 470px);
    padding: 32px;
    border-radius: 26px;
    color: var(--ink);
    background: rgba(248, 243, 234, 0.96);
    box-shadow: var(--shadow);
}

.form-card h2 {
    margin: 0 0 8px;
    font-size: 2rem;
}

.form-card p {
    margin: 0 0 22px;
    color: #566052;
    line-height: 1.5;
}

label {
    display: block;
    margin: 15px 0 7px;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    border: 1px solid #cfc6b7;
    border-radius: 12px;
    padding: 13px 14px;
    font: inherit;
    color: var(--ink);
    background: var(--white);
}

input:focus,
textarea:focus {
    outline: 3px solid rgba(198, 161, 91, 0.35);
    border-color: var(--gold);
}

textarea { resize: vertical; }

button {
    width: 100%;
    margin-top: 20px;
    border: 0;
    border-radius: 999px;
    padding: 15px 22px;
    font: inherit;
    font-weight: 700;
    color: var(--white);
    background: var(--moss);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

button:hover {
    transform: translateY(-1px);
    background: #3f4f37;
}

.alert {
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
    line-height: 1.45;
}

.alert ul { margin: 8px 0 0 20px; padding: 0; }
.alert.success { background: #e6f3e1; color: #27451f; }
.alert.error { background: #fde7e7; color: #7a1d1d; }

.hidden-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.useful-links {
    padding: 90px 20px;
    background: #1b1b1b;
    color: #fff;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.eyebrow {
    display: block;
    color: #c8a96a;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: rgba(255,255,255,.75);
}

.link-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 25px;
}

.link-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(200,169,106,.25);
    border-radius: 10px;
    padding: 30px;
    text-decoration: none;
    color: #fff;
    transition: all .3s ease;
}

.link-card:hover {
    background: rgba(200,169,106,.08);
    border-color: #c8a96a;
    transform: translateY(-4px);
}

.link-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: #fff;
}

.link-card span {
    color: #c8a96a;
    font-weight: 600;
}

.site-footer {
    background: #141414;
    border-top: 1px solid rgba(200,169,106,.15);
    padding: 50px 20px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-left,
.footer-right {
    font-size: 0.85rem;
    color: rgba(255,255,255,.65);
}

.footer-left a,
.footer-right a {
    color: #c8a96a;
    text-decoration: none;
    transition: opacity .3s ease;
}

.footer-left a:hover,
.footer-right a:hover {
    opacity: .8;
}

.divider {
    margin: 0 10px;
    color: rgba(255,255,255,.25);
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
.logo img {

}
    .footer-left,
    .footer-right {
        line-height: 1.8;
    }
}


@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 42px;
        padding-bottom: 42px;
    }
.logo img {
	width: 95%;
	height: auto;
}
    .form-card {
        justify-self: start;
    }

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