/* BASE STYLESHEET */
/* Microsite Builder */

:root {
    --primary-color: #3f6782;
    --primary-dark: #355b73;
    --accent-color: #4b7691;
    --light-bg: #f4f6f8;
    --text-dark: #1f2933;
    --heading-color: #1f2933;
    --border-color: #d7dde3;
    --white: #ffffff;
    --footer-bg: #070b12;
    --footer-text: #ffffff;

    --button-bg: #3f6782;
    --button-bg-hover: #355b73;
    --button-text: #ffffff;

    --font-heading: 'Lato', Arial, sans-serif;
    --font-body: 'Lato', Arial, sans-serif;
}

/* GLOBAL */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-dark);
    background: var(--light-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

iframe {
    max-width: 100%;
}

a {
    color: inherit;
}

p {
    margin: 0 0 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.25;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */

.site-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px 0 40px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.site-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 50%;
    padding: 6px;
}

.branding-text {
    display: flex;
    flex-direction: column;
}

.site-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    line-height: 1.1;
}

.site-name:hover {
    color: var(--white);
    text-decoration: none;
}

.site-tagline {
    margin-top: 4px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
}

.header-phone {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.header-phone a {
    color: var(--white);
    text-decoration: none;
}

.header-phone a:hover {
    color: var(--white);
    text-decoration: none;
}

.nav-row {
    padding-top: 14px;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}

.main-nav > a,
.nav-dropdown > a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
}

.main-nav > a:hover,
.nav-dropdown > a:hover {
    text-decoration: underline;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 28px;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px 0;
    z-index: 1000;
}

.dropdown-menu a {
    display: block;
    padding: 8px 14px;
    color: #333333;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: #f1f4f7;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
}

.header-banner {
    max-width: 820px;
    margin: 30px auto 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.header-banner img {
    width: 100%;
    border-radius: 6px;
    margin-left: auto;
    margin-right: auto;
}

/* PAGE HEADER */

.page-header {
    padding: 36px 0 10px;
}

.page-header h1 {
    font-family: var(--font-heading);
    margin: 0;
    font-size: 2.8rem;
    line-height: 1.15;
}

/* MAIN CONTENT */

.main-content {
    padding: 20px 0 50px;
}

.content-area {
    background: #ffffff;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: visible;
}

/* MAIN CONTENT SHOULD FEEL LIKE ONE CONTINUOUS WHITE COLUMN */

.content-section {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.content-section + .content-section {
    margin-top: 24px;
}

.content-area h1,
.content-area h2,
.content-area h3 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.25;
}

.content-area h1 {
    margin-top: 0;
    margin-bottom: 16px;
}

.content-area h2 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.content-area h3 {
    margin-top: 22px;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.content-area p {
    margin: 0 0 14px;
    line-height: 1.7;
}

.content-area ul,
.content-area ol {
    margin: 16px 0 20px 22px;
}

.content-area li {
    margin-bottom: 8px;
}

.service-list {
    margin: 16px 0 0 20px;
    padding: 0;
}

.service-list li {
    margin-bottom: 10px;
}

/* BUTTONS */

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--button-bg);
    color: var(--button-text);
    padding: 10px 16px;
    margin-top: 10px;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.cta-button:hover {
    background: var(--button-bg-hover);
    color: var(--button-text);
    text-decoration: none;
}

.cta-button:focus-visible {
    outline: 2px solid var(--button-bg-hover);
    outline-offset: 2px;
}

.cta-button:active {
    opacity: 0.96;
}

/* CTA BLOCKS */

.section-contact-cta {
    margin: 24px 0;
}

.section-contact-cta .inline-cta-box {
    background: #eef1f4;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 18px 20px;
}

.section-contact-cta .inline-cta-box h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.55rem;
}

.section-contact-cta .inline-cta-box p {
    margin-bottom: 14px;
}

.section-contact-cta .inline-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.section-contact-cta .inline-cta-buttons .cta-button {
    margin-top: 0;
}

/* CONTACT FORM / MAP */

.contact-form p {
    margin-bottom: 16px;
}

.contact-form label {
    display: inline-block;
    margin-bottom: 6px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    font: inherit;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #ffffff;
}

.map-embed {
    margin-top: 24px;
    overflow: hidden;
    border-radius: 6px;
}

.map-embed iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
}

/* SERVICES GRID */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 18px;
}

/* CONTENT IMAGE WRAPPING */

.content-image {
    display: block;
}

.content-section .content-image.left-wrap {
    float: left;
    width: 42%;
    max-width: 320px;
    margin: 6px 22px 14px 0;
}

.content-section .content-image.right-wrap {
    float: right;
    width: 42%;
    max-width: 320px;
    margin: 6px 0 14px 22px;
}

.content-section .content-image.centre {
    float: none;
    width: 100%;
    max-width: 420px;
    margin: 12px auto 20px;
}

.content-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.content-section > p,
.content-section > ul,
.content-section > ol,
.content-section > h2,
.content-section > h3 {
    overflow: visible;
}

.content-section::after,
.content-area::after {
    content: "";
    display: table;
    clear: both;
}

/* LEGAL AND SITEMAP PAGES */

.legal-page-content,
.simple-page-content {
    max-width: 760px;
    margin: 30px auto;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 28px 30px;
}

.legal-page-content h1,
.simple-page-content h1 {
    margin-top: 0;
}

.legal-page-content p,
.simple-page-content p {
    margin-bottom: 16px;
}

.legal-page-content ul,
.simple-page-content ul {
    margin: 16px 0 20px 22px;
}

.legal-page-content li,
.simple-page-content li {
    margin-bottom: 8px;
}

/* FOOTER */

.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 32px 0 20px;
}

.footer-inner {
    text-align: center;
}

.footer-supporting {
    font-size: 0.9rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-business {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--footer-text);
}

.footer-phone {
    margin-bottom: 14px;
}

.footer-phone a {
    color: var(--footer-text);
    text-decoration: none;
}

.footer-phone a:hover {
    color: var(--footer-text);
    text-decoration: underline;
}

.footer-links {
    margin: 16px 0;
    line-height: 1.8;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    margin: 0 4px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-sep {
    opacity: 0.5;
}

.footer-bottom {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-copyright {
    font-size: 0.92rem;
    opacity: 0.95;
    color: var(--footer-text);
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-phone {
        font-size: 1.35rem;
    }
}

@media (max-width: 600px) {
    .site-branding {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-logo {
        width: 72px;
        height: 72px;
    }

    .site-name {
        font-size: 1.45rem;
    }

    .page-header h1 {
        font-size: 2.1rem;
    }

    .content-area {
        padding: 22px;
    }

    .legal-page-content,
    .simple-page-content {
        padding: 20px;
        margin: 20px auto;
    }

    .section-contact-cta .inline-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .section-contact-cta .inline-cta-buttons .cta-button {
        width: 100%;
    }
}