* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #2c3e50;
    --color-secondary: #34495e;
    --color-accent: #1a252f;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #fff;
    --color-bg-alt: #f8f9fa;
    --color-border: #e1e5e9;
    --font-main: 'Georgia', 'Times New Roman', serif;
    --font-heading: 'Helvetica Neue', Arial, sans-serif;
    --max-width: 1200px;
    --narrow-width: 720px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

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

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1.2rem;
}

ul, ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.ad-disclosure {
    background: var(--color-bg-alt);
    color: var(--color-text-light);
    font-size: 0.75rem;
    text-align: center;
    padding: 0.4rem;
    font-family: var(--font-heading);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    border-bottom-color: var(--color-primary);
}

.editorial-content {
    padding-bottom: 4rem;
}

.narrow-content {
    max-width: var(--narrow-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-editorial {
    padding: 4rem 0;
}

.hero-text-block {
    max-width: var(--narrow-width);
    margin: 0 auto 3rem;
    padding: 0 2rem;
    text-align: center;
}

.hero-lead {
    font-size: 1.3rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.hero-image-container {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 450px;
    overflow: hidden;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-section {
    padding: 4rem 0;
}

.story-section.alt-bg {
    background: var(--color-bg-alt);
}

.story-section.featured-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eef3 100%);
    border-top: 4px solid var(--color-primary);
}

.inline-image {
    max-width: 900px;
    margin: 3rem auto;
    height: 400px;
    overflow: hidden;
}

.inline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inline-image.left-offset {
    margin-left: 5%;
    margin-right: auto;
}

.inline-image.right-offset {
    margin-left: auto;
    margin-right: 5%;
}

.inline-image.centre {
    margin-left: auto;
    margin-right: auto;
}

.cta-inline {
    background: var(--color-primary);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cta-inline h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-inline p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--color-primary);
}

.cta-button.light {
    background: #fff;
    color: var(--color-primary);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.cta-button.secondary:hover {
    background: var(--color-primary);
    color: #fff;
}

.services-preview {
    padding: 5rem 0;
    background: var(--color-bg-alt);
}

.services-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: var(--max-width);
    margin: 2rem auto 0;
    padding: 0 2rem;
    justify-content: center;
}

.service-card {
    flex: 1 1 300px;
    max-width: 360px;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-card .price {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.card-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
    border-bottom: 1px solid currentColor;
}

.testimonial-section {
    padding: 5rem 0;
}

.testimonial-section blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-text);
    border-left: 4px solid var(--color-primary);
    padding-left: 2rem;
    margin: 0;
}

.testimonial-section cite {
    display: block;
    font-style: normal;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-top: 1.5rem;
}

.final-cta {
    padding: 0;
}

.cta-wrapper {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.cta-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.cta-overlay h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.page-hero.compact {
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-hero.compact h1 {
    margin-bottom: 1rem;
}

.team-section {
    padding: 4rem 0;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: var(--max-width);
    margin: 2rem auto 0;
    padding: 0 2rem;
    justify-content: center;
}

.team-member {
    flex: 1 1 350px;
    max-width: 400px;
    padding: 2rem;
    border-radius: 8px;
}

.member-image {
    height: 250px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 0.3rem;
}

.team-member .role {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.values-section {
    padding: 5rem 0;
    background: var(--color-bg-alt);
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: var(--max-width);
    margin: 2rem auto 0;
    padding: 0 2rem;
}

.value-item {
    flex: 1 1 280px;
    padding: 1.5rem;
    border-left: 3px solid var(--color-primary);
}

.value-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.service-detail {
    padding: 5rem 0;
}

.service-detail:nth-child(even) {
    background: var(--color-bg-alt);
}

.service-detail-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

.service-detail .service-text {
    flex: 1 1 450px;
}

.service-detail .service-image {
    flex: 1 1 400px;
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
}

.service-detail .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail.alt-layout .service-detail-inner {
    flex-direction: row-reverse;
}

.service-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.service-features {
    margin: 1.5rem 0;
}

.service-features li {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.service-pricing {
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 1.5rem;
}

.price-main {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.price-detail {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.service-form-section {
    padding: 5rem 0;
    background: var(--color-primary);
}

.service-form-section .narrow-content {
    text-align: center;
    color: #fff;
    margin-bottom: 2rem;
}

.service-form-section h2 {
    color: #fff;
}

.service-form-section p {
    color: rgba(255, 255, 255, 0.9);
}

.service-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    font-family: var(--font-main);
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background: #fff;
    color: var(--color-text);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    background: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-section {
    padding: 4rem 0;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info {
    flex: 1 1 350px;
}

.contact-info h2 {
    margin-bottom: 2rem;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    font-size: 1rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.info-block p {
    margin-bottom: 0;
    line-height: 1.8;
}

.email-display {
    font-family: var(--font-heading);
    color: var(--color-primary);
}

.contact-map {
    flex: 1 1 400px;
    min-height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visit-section {
    padding: 4rem 0;
}

.enquiry-types {
    padding: 4rem 0;
}

.enquiry-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: var(--max-width);
    margin: 2rem auto 0;
    padding: 0 2rem;
}

.enquiry-item {
    flex: 1 1 280px;
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border-radius: 8px;
}

.enquiry-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.enquiry-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.thanks-section {
    padding: 6rem 0;
    text-align: center;
}

.thanks-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.thanks-icon {
    color: #27ae60;
    margin-bottom: 2rem;
}

.thanks-icon svg {
    width: 80px;
    height: 80px;
}

.thanks-lead {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.service-confirmation {
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.service-confirmation p {
    margin-bottom: 0;
    font-size: 1rem;
}

.thanks-details {
    text-align: left;
    margin-bottom: 3rem;
}

.thanks-details h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.thanks-links {
    margin-bottom: 2rem;
}

.thanks-links h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.link-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.return-home {
    margin-top: 2rem;
}

.home-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-text-light);
    border-bottom: 1px solid currentColor;
}

.legal-page .page-hero {
    background: var(--color-bg-alt);
}

.last-updated {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.legal-content {
    padding: 3rem 0;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.legal-section:first-child h2 {
    border-top: none;
    padding-top: 0;
}

.legal-section h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.cookie-table th,
.cookie-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.cookie-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    background: var(--color-bg-alt);
}

.site-footer {
    background: var(--color-primary);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    flex: 1 1 300px;
}

.footer-brand .logo {
    font-size: 1.3rem;
    color: #fff;
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-links,
.footer-legal {
    flex: 0 1 180px;
}

.footer-links h4,
.footer-legal h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.disclaimer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    color: #fff;
    padding: 1.5rem 2rem;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.cookie-content p {
    flex: 1 1 400px;
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
}

.cookie-btn {
    padding: 0.6rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn.accept {
    background: #fff;
    color: var(--color-primary);
}

.cookie-btn.reject {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.cookie-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    text-decoration: underline;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero-image-container {
        height: 300px;
    }

    .inline-image {
        height: 280px;
        margin-left: 0;
        margin-right: 0;
    }

    .inline-image.left-offset,
    .inline-image.right-offset {
        margin-left: 0;
        margin-right: 0;
    }

    .service-detail-inner,
    .service-detail.alt-layout .service-detail-inner {
        flex-direction: column;
    }

    .service-detail .service-image {
        height: 280px;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-map {
        min-height: 300px;
    }

    .cta-wrapper {
        height: 350px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    h1 {
        font-size: 1.7rem;
    }

    .hero-image-container {
        height: 220px;
    }

    .services-cards,
    .team-grid,
    .values-list,
    .enquiry-grid {
        flex-direction: column;
    }

    .service-card,
    .team-member {
        max-width: none;
    }

    .link-buttons {
        flex-direction: column;
    }

    .link-buttons .cta-button {
        width: 100%;
        text-align: center;
    }
}
