header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.form_notice {
    margin: 1rem auto;
    width: min(920px, calc(100% - 2rem));
    border-radius: 10px;
    padding: 0.85rem 1rem;
    box-sizing: border-box;
    font-family: 'Raleway', 'sans-serif';
    font-size: 0.95rem;
}

.form_notice p {
    margin: 0;
}

.form_notice.success {
    background-color: #e8f6ee;
    border: 1px solid #7fbf99;
    color: #154e2d;
}

.form_notice.error {
    background-color: #faecec;
    border: 1px solid #d48a8a;
    color: #7a1f1f;
}

.header_main {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    padding: 1rem 2rem;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

.logo {
    justify-self: start;
}

.logo h1 {
    margin: 0;
    font-family: 'Playfair Display', 'sans-serif';
    color: #0f172a;
}

.logo h1 a {
    display: inline-block;
    padding: 0.2rem 0.45rem;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.logo h1 a:hover {
    background-color: #0f172a;
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.logo h1:hover {
    color: #0f172a;
}

.navbar {
    display: flex;
    justify-self: center;
}

.navbar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Raleway', 'sans-serif';
    font-size: 17px;
    display: flex;
    gap: 1.5rem;
}

.navbar a {
    display: inline-block;
    padding: 0.3rem 0.55rem;
    border-radius: 10px;
    color: #0f172a;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar a:hover {
    background-color: #0f172a;
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.btn,
.hero_form_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 0.95rem;
    box-sizing: border-box;
    border: 1px solid rgba(203, 213, 225, 0.22);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    text-decoration: none;
    font-family: 'Raleway', 'sans-serif';
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.hero_form_button:hover {
    background-color: rgba(255, 255, 255, 0.14);
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.cta {
    justify-self: end;
    padding: 0.8rem 0.95rem;
    box-sizing: border-box;
    border: 1px solid #0f172a;
    border-radius: 12px;
    background-color: #0f172a;
    color: #cbd5e1;
    text-decoration: none;
    font-family: 'Raleway', 'sans-serif';
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cta:hover {
    background-color: #1e293b;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.header_top {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    padding: 0.35rem 2rem;
    box-sizing: border-box;
    min-height: 0;
    line-height: 1.2;
    background-color: #e8edf2;
}

.header_socials {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    justify-self: start;
}

.social-icon {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #0f172a;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
    background-color: #ffffff;
    color: #0f172a;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.16);
    transform: translateY(-1px);
}

.header_address,
.header_phone {
    margin: 0;
    font-family: 'Raleway', 'sans-serif';
    font-size: .88rem;
    color: #0f172a;
}

.header_address {
    justify-self: center;
    text-align: center;
}

.header_address a {
    display: inline-block;
    padding: 0.2rem 0.45rem;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header_address a:hover {
    background-color: #0f172a;
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.header_phone {
    justify-self: end;
}

.header_phone a {
    display: inline-block;
    padding: 0.2rem 0.45rem;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header_phone a:hover {
    background-color: #0f172a;
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    color: white;
    background:
        linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.55)),
    url("Media/Images_Hero/Hero_Home_iStock-639414496.jpg") center / cover no-repeat;
}

.hero_content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
    gap: 2.5rem;
    align-items: center;
}

.hero_copy {
    max-width: 38rem;
    justify-self: center;
    text-align: center;
}

.hero_copy h1 {
    margin: 0 0 1rem;
    font-family: 'Playfair Display', 'sans-serif';
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
}

.hero_copy p {
    margin: 0 auto 1.25rem;
    max-width: 32rem;
    font-family: 'Raleway', 'sans-serif';
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero_copy h2 {
    margin: 0;
    font-family: 'Raleway', 'sans-serif';
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    letter-spacing: 0.08em;
}

.hero_copy h2 a {
    color: inherit;
    text-decoration: none;
}

.hero_copy h2 a:hover {
    color: #e2e8f0;
    text-decoration: underline;
}

.hero_form_card {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    background-color: rgba(11, 18, 33, 0.82);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.hero_form_card h2 {
    margin: 0 0 1rem;
    font-family: 'Playfair Display', 'sans-serif';
    font-size: 1.6rem;
    color: #ffffff;
}

.hero_form {
    display: grid;
    gap: 0.85rem;
}

.hero_form input,
.hero_form textarea {
    width: 100%;
    padding: 0.8rem 0.95rem;
    box-sizing: border-box;
    border: 1px solid rgba(203, 213, 225, 0.22);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-family: 'Raleway', 'sans-serif';
    font-size: 0.95rem;
    text-align: left;
}

.hero_form input::placeholder,
.hero_form textarea::placeholder {
    color: #cbd5e1;
}

.hero_form textarea {
    resize: vertical;
    min-height: 8rem;
}

.hero_form input:hover,
.hero_form textarea:hover,
.subscribe_form input:hover {
    border: 2px solid #ffffff;
}

.hero_form input:focus,
.hero_form textarea:focus,
.subscribe_form input:focus {
    outline: none;
    border: 2px solid #ffffff;
}

.hero_form_button {
    width: 100%;
}

.btn:focus-visible,
.hero_form_button:focus-visible {
    outline: none;
    border-color: rgba(203, 213, 225, 0.55);
    box-shadow: 0 0 0 3px rgba(203, 213, 225, 0.22);
}

.cta:focus-visible {
    outline: none;
    border-color: #1e293b;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.22);
}

.mobile_menu {
    display: none;
}

.mobile_menu summary {
    list-style: none;
}

.mobile_menu summary::-webkit-details-marker {
    display: none;
}

.mobile_menu summary {
    display: inline-flex;
    flex-direction: column;
    gap: 0.22rem;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid #0f172a;
    border-radius: 10px;
    background-color: #0f172a;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mobile_menu summary:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.16);
    transform: translateY(-1px);
}

.mobile_menu summary:hover span {
    background-color: #0f172a;
}

.mobile_menu summary span {
    width: 1rem;
    height: 2px;
    background-color: #ffffff;
    border-radius: 99px;
}

.mobile_menu_panel {
    display: none;
}

.mobile_menu[open] .mobile_menu_panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.25rem;
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    min-width: min(90vw, 420px);
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
    z-index: 1200;
}

.mobile_menu_panel a {
    display: inline-block;
    padding: 0.3rem 0.55rem;
    border-radius: 10px;
    color: #0f172a;
    text-decoration: none;
    font-family: 'Raleway', 'sans-serif';
    font-size: 0.95rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile_menu_panel a:hover {
    background-color: #0f172a;
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.mobile_menu_panel_info {
    display: none;
}

.btn:active,
.cta:active,
.hero_form_button:active {
    transform: translateY(1px);
}

.about {
    display: flex;
    flex-direction: column;
    border: none;
    color: #0f172a;
    font-family: 'Raleway', 'sans-serif';
}

.risk_assessment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    min-height: 400px;
    width: 82%;
    overflow: hidden;
    border-radius: 22px;
}

.risk_assessment img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.risk_assessment_content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 4rem;
    background-color: #0f172a;
    color: white;
    text-align: center;
}

.why_choose_us {
    display: grid;
    grid-template-columns: repeat(5, minmax(60px, 140px));
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
    padding: 2rem 2.5rem;
    background-color: #f4f4f4;
    color: gold;
    align-items: center;
    justify-items: center;
    justify-content: center;
}

.why_choose_us > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.65rem;
}

.why_choose_us img {
    display: block;
    width: clamp(66px, 6.56vw, 105px);
    height: auto;
}

.why_choose_us > div > p {
    margin: 0;
    display: block;
    font-family: 'Raleway', 'sans-serif';
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: gold;
    max-width: 14ch;
}

.safety {
    padding: 8rem 15% 4rem;
    box-sizing: border-box;
}

.safety > h3 {
    margin: 0 0 1rem;
}

.safety_content {
    padding: 0;
}

.site-footer {
    margin-top: 2rem;
    padding: 1rem 1rem 0;
    background-color: #0f172a;
    color: #e5e7eb;
}

.footer_main {
    width: 100%;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 2rem;
    padding: 2rem;
    box-sizing: border-box;
}

.services {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 320px));
    justify-content: center;
    gap: 2rem;
    width: 82%;
    margin: 0 auto;
    padding: 0 0 6rem;
    box-sizing: border-box;
}

.service_card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
    text-align: center;
    background-color: #0f172a;
}

.service_card_content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
}

.service_card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service_card h4 {
    margin: 0;
    font-family: 'Playfair Display', 'sans-serif';
    font-size: 1.3rem;
    color: #ffffff;
}

.service_card p {
    margin: 0;
    font-family: 'Raleway', 'sans-serif';
    font-size: 0.97rem;
    line-height: 1.65;
    color: #ffffff;
}

.service_card .btn {
    align-self: center;
}

.blog_posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 320px));
    justify-content: center;
    gap: 2rem;
    width: 82%;
    margin: 0 auto;
    padding: 0 0 6rem;
    box-sizing: border-box;
}

.blog_card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
    background-color: #0f172a;
}

.blog_card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.blog_card_content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.4rem;
}

.blog_card h4 {
    margin: 0;
    font-family: 'Playfair Display', 'sans-serif';
    font-size: 1.25rem;
    color: #ffffff;
}

.blog_card p {
    margin: 0;
    font-family: 'Raleway', 'sans-serif';
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ffffff;
}

.blog_card .blog_meta,
.blog_card .blog_taxonomy {
    font-size: 0.82rem;
    color: #cbd5e1;
}

.blog_read_more {
    margin-top: 0.5rem;
    font-family: 'Raleway', 'sans-serif';
    font-weight: 500;
    font-size: 0.9rem;
    color: #cbd5e1;
    text-decoration: none;
}

.blog_read_more:hover {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.blog_page .blog_layout {
    display: grid;
    grid-template-columns: minmax(0, 78fr) minmax(0, 22fr);
    gap: 2rem;
    width: 82%;
    margin: 0 auto;
    box-sizing: border-box;
}

.blog_page .blog_primary {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
}

.blog_page .blog_posts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 2rem;
    width: 100%;
    margin: 0;
    padding: 0 0 5rem;
}

.blog_aside {
    align-self: start;
    margin-top: 4rem;
    padding: 0 0 0 1.6rem;
    border-left: 3px solid #0f172a;
    border-radius: 0;
    background-color: transparent;
    box-sizing: border-box;
}

.blog_aside h3 {
    margin: 0 0 0.65rem;
    font-family: 'Playfair Display', 'sans-serif';
    font-size: 1.15rem;
    color: #0b1221;
}

.blog_aside p,
.blog_aside li,
.blog_aside a {
    font-family: 'Raleway', 'sans-serif';
    font-size: 0.92rem;
    line-height: 1.55;
    color: #1e293b;
}

.blog_aside ul {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
}

.blog_aside a {
    text-decoration: none;
}

.blog_aside a:hover {
    color: #0b1221;
    text-decoration: underline;
}

.footer_col h3,
.footer_logo {
    margin: 0 0 0.85rem;
    font-family: 'Playfair Display', 'sans-serif';
    color: #cbd5e1;
}

.footer_logo {
    font-size: 1.4rem;
}

.footer_logo a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
}

.footer_logo a:hover {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.footer_col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer_col li + li {
    margin-top: 0.5rem;
}

.footer_col a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
}

.footer_col a:hover {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.footer_col p {
    margin: 0 0 0.5rem;
    font-family: 'Raleway', 'sans-serif';
    font-size: 0.95rem;
    color: #cbd5e1;
}

.footer_main > .footer_col:nth-child(4) {
    text-align: right;
}

.contact_intro {
    margin-bottom: 0.75rem;
}

.subscribe_form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer_socials {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.footer_col a.footer_social_icon {
    display: inline-flex;
    width: 1.65rem;
    height: 1.65rem;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #1e293b;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer_col a.footer_social_icon:hover {
    background-color: #ffffff;
    color: #0f172a;
    text-decoration: none;
    transform: translateY(-1px);
}

.subscribe_form input {
    min-width: 12rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid #334155;
    border-radius: 8px;
    background-color: #0b1221;
    color: #e5e7eb;
    font-family: 'Raleway', 'sans-serif';
    font-size: 0.95rem;
}

.subscribe_form input::placeholder {
    color: #cbd5e1;
    opacity: 1;
}

/* subscribe button styles handled by .btn */

.footer_bottom {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 2rem;
    box-sizing: border-box;
    border-top: 1px solid #1e293b;
    background-color: #0b1221;
    line-height: 1.2;
}

.footer_links,
.footer_copy {
    margin: 0;
    font-family: 'Raleway', 'sans-serif';
    font-size: 0.82rem;
    color: #cbd5e1;
}

.footer_links {
    text-align: center;
}

.footer_bottom a,
.footer_bottom a:link,
.footer_bottom a:visited,
.footer_bottom a:active {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
}

.footer_bottom a:hover {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.footer_copy {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Estimate Modal ─────────────────────────────── */
.estimate_modal_overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
}

.estimate_modal_overlay.open {
    display: flex;
}

.estimate_modal {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.estimate_modal_close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 1.35rem;
    line-height: 1;
    padding: 0.25rem 0.4rem;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.15s ease;
}

.estimate_modal_close:hover {
    color: #ffffff;
}
/* ─────────────────────────────────────────────── */

.contact_page_main {
    width: min(1100px, 92%);
    margin: 0 auto;
    padding: 3rem 0 5rem;
}

.contact_intro_section {
    padding: 1rem 0 2rem;
}

.contact_intro_section h2 {
    margin: 0 0 0.8rem;
    font-family: 'Playfair Display', 'sans-serif';
    color: #0f172a;
}

.contact_intro_section p {
    margin: 0;
    font-family: 'Raleway', 'sans-serif';
    color: #1e293b;
    line-height: 1.7;
}

.contact_widgets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.contact_widget_card {
    border: 1px solid #1e293b;
    border-radius: 16px;
    background-color: #0f172a;
    padding: 1.2rem;
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.28);
}

.contact_widget_card h3 {
    margin: 0 0 0.65rem;
    font-family: 'Playfair Display', 'sans-serif';
    color: #cbd5e1;
}

.contact_widget_card p,
.contact_widget_card li,
.contact_widget_card a {
    margin: 0;
    font-family: 'Raleway', 'sans-serif';
    color: #cbd5e1;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.6;
}

.contact_widget_card ul {
    margin: 0;
    padding-left: 1.1rem;
}

.contact_widget_card li + li {
    margin-top: 0.25rem;
}

.contact_widget_card a:hover {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.contact_map_section {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background-color: #f8fafc;
    padding: 1.4rem;
}

.contact_map_section h3 {
    margin: 0 0 0.35rem;
    font-family: 'Playfair Display', 'sans-serif';
    color: #0f172a;
}

.contact_map_section p {
    margin: 0 0 0.9rem;
    font-family: 'Raleway', 'sans-serif';
    color: #334155;
}

.contact_map_frame {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
}

.contact_map_frame iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

.services_page_main {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 3rem 0 5rem;
}

.services_intro_section {
    width: min(860px, 100%);
    margin: 0 auto 2.5rem;
    text-align: center;
}

.services_intro_section h2 {
    margin: 0 0 0.8rem;
    font-family: 'Playfair Display', 'sans-serif';
    color: #0f172a;
}

.services_intro_section p {
    margin: 0;
    font-family: 'Raleway', 'sans-serif';
    color: #1e293b;
    line-height: 1.75;
}

.services_page .services {
    width: 100%;
    margin: 0;
    padding-bottom: 3.5rem;
}

.services_cta_section {
    width: min(860px, 100%);
    margin: 0 auto;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background-color: #f8fafc;
    text-align: center;
}

.services_cta_section h3 {
    margin: 0 0 0.65rem;
    font-family: 'Playfair Display', 'sans-serif';
    color: #0f172a;
}

.services_cta_section p {
    margin: 0 0 1rem;
    font-family: 'Raleway', 'sans-serif';
    color: #334155;
    line-height: 1.65;
}

.services_cta_section p:last-child {
    margin-bottom: 0;
}

.about_page_main {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 3rem 0 5rem;
}

.about_intro_section {
    width: min(880px, 100%);
    margin: 0 auto 2.5rem;
    text-align: center;
}

.about_intro_section h2 {
    margin: 0 0 0.8rem;
    font-family: 'Playfair Display', 'sans-serif';
    color: #0f172a;
}

.about_intro_section p {
    margin: 0;
    font-family: 'Raleway', 'sans-serif';
    color: #1e293b;
    line-height: 1.75;
}

.about_story_section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.about_story_card {
    border: 1px solid #1e293b;
    border-radius: 16px;
    background-color: #0f172a;
    padding: 1.2rem;
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.28);
}

.about_story_card h3 {
    margin: 0 0 0.65rem;
    font-family: 'Playfair Display', 'sans-serif';
    color: #cbd5e1;
}

.about_story_card p {
    margin: 0;
    font-family: 'Raleway', 'sans-serif';
    color: #cbd5e1;
    line-height: 1.65;
}

.about_cta_section {
    width: min(860px, 100%);
    margin: 2rem auto 0;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background-color: #f8fafc;
    text-align: center;
}

.about_cta_section h3 {
    margin: 0 0 0.65rem;
    font-family: 'Playfair Display', 'sans-serif';
    color: #0f172a;
}

.about_cta_section p {
    margin: 0 0 1rem;
    font-family: 'Raleway', 'sans-serif';
    color: #334155;
    line-height: 1.65;
}

.about_cta_section p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .hero_content {
        grid-template-columns: 1fr;
    }

    .hero_copy {
        max-width: none;
    }

    .services {
        grid-template-columns: repeat(2, minmax(240px, 320px));
        width: 100%;
        margin: 0;
        padding: 0 1.5rem 4rem;
    }

    .blog_posts {
        grid-template-columns: repeat(2, minmax(240px, 320px));
        width: 100%;
        margin: 0;
        padding: 0 1.5rem 4rem;
    }

    .blog_page .blog_layout {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 0 1.5rem;
    }

    .blog_page .blog_posts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 0 4rem;
    }

    .blog_aside {
        display: none;
    }

    .contact_widgets {
        grid-template-columns: 1fr;
    }

    .about_story_section {
        grid-template-columns: 1fr;
    }

    .footer_main {
        grid-template-columns: 1fr 1fr;
    }

    .footer_main > .footer_col:nth-child(2),
    .footer_main > .footer_col:nth-child(4) {
        text-align: right;
    }

    .footer_bottom {
        gap: 0.35rem;
        flex-wrap: wrap;
        text-align: center;
    }

    .footer_links,
    .footer_copy {
        text-align: center;
    }
}

@media (max-width: 820px) {
    .risk_assessment {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .risk_assessment img {
        height: 280px;
    }

    .risk_assessment_content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 560px) {
    .hero {
        padding: 3rem 1.25rem;
    }

    .hero_form_card {
        padding: 1.2rem;
    }

    .footer_main {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .footer_main > .footer_col:nth-child(2),
    .footer_main > .footer_col:nth-child(4) {
        text-align: left;
    }

    .footer_socials {
        justify-content: flex-start;
    }

    .services {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog_posts {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 650px) {
    .header_top {
        grid-template-columns: auto 1fr;
        gap: 0.75rem;
    }

    .header_address {
        display: none;
    }

    .header_phone {
        justify-self: end;
        text-align: right;
    }

    .header_main {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.85rem;
        position: relative;
    }

    .navbar,
    .cta {
        display: none;
    }

    .mobile_menu {
        display: block;
        justify-self: end;
    }

    .blog_page .mobile_menu_panel_info {
        display: block;
        grid-column: 1 / -1;
        margin-top: 0.25rem;
        padding-top: 0.75rem;
        border-top: 1px solid #e2e8f0;
    }

    .blog_page .mobile_menu_panel_info h3 {
        margin: 0.5rem 0 0.35rem;
        font-family: 'Playfair Display', 'sans-serif';
        font-size: 0.95rem;
        color: #0b1221;
    }

    .blog_page .mobile_menu_panel_info p,
    .blog_page .mobile_menu_panel_info a {
        margin: 0;
        font-family: 'Raleway', 'sans-serif';
        font-size: 0.84rem;
        line-height: 1.55;
        color: #334155;
        text-decoration: none;
    }

    .blog_page .mobile_menu_panel_info a:hover {
        color: #0b1221;
        text-decoration: underline;
    }
}
