/* -------------------------------------------------------
   GLOBAL VARIABLES & BASE STYLES
------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Jockey+One&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --brand-green: #1A4D1E;
    --brand-green-dark: #123515;
    --brand-green-light: #2D7A32;
    --text-main: #1F2933;
    --text-muted: #6B7280;
    --bg-light: #F8FAF8;
    --card-bg: #FFFFFF;
    --border-subtle: #E5E7EB;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    font-size: 18px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Jockey One', sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

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

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

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* -------------------------------------------------------
   HEADER
------------------------------------------------------- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--brand-green);
    letter-spacing: 0.5px;
}

.logo-icon {
    font-size: 1.875rem;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--text-main);
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--brand-green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--brand-green);
}

.phone-icon {
    font-size: 1.25rem;
}

.login-link {
    padding: 12px 26px;
    background: var(--brand-green);
    color: #fff;
    border-radius: 8px;
    font-size: 1.0625rem;
    font-weight: 500;
    transition: background 0.2s;
}

.login-link:hover {
    background: var(--brand-green-dark);
}

/* -------------------------------------------------------
   HERO SECTION
------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 75vh;
    background: url('/img/greentree.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 100px 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(78, 122, 78, 0.88) 0%,
        rgba(0, 0, 0, 0.55) 60%,
        rgba(0, 0, 0, 0.35) 0%
    );
}

.hero-inner {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

.hero-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.25rem);
    line-height: 1.08;
    margin: 0 0 24px 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.hero-subtitle {
    font-size: clamp(1.1875rem, 2.5vw, 1.5rem);
    margin: 0 0 40px 0;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    color: #fff
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: var(--brand-green);
    color: #fff;
    border-radius: 10px;
    font-size: 1.1875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(26, 77, 30, 0.4);
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--brand-green-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 77, 30, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    font-size: 1.1875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.hero-trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.92);
}

.trust-icon {
    width: 26px;
    height: 26px;
    background: var(--brand-green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: bold;
}

/* -------------------------------------------------------
   CONTENT SECTION
------------------------------------------------------- */
.content-section {
    background: #fff;
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(26, 77, 30, 0.08);
    color: var(--brand-green);
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3rem);
    margin: 0 0 16px 0;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* -------------------------------------------------------
   SERVICES
------------------------------------------------------- */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 100px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 44px 36px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.service-icon-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-wrap img,
.service-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.service-icon-wrap.health img,
.service-card.health img {
    width: 130px;
    height: 130px;
}

.service-title {
    font-size: 1.625rem;
    color: var(--brand-green);
    margin: 0 0 14px 0;
}

.service-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 0 0 28px 0;
    line-height: 1.7;
}

.service-link {
    display: inline-block;
    color: var(--brand-green);
    font-weight: 600;
    font-size: 1.0625rem;
}

.service-link:hover {
    text-decoration: underline;
}

/* -------------------------------------------------------
   WHY CHOOSE US
------------------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 100px;
}

.why-item {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.2s;

}

.why-item:hover {
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.why-icon {
    font-size: 2.75rem;
    margin-bottom: 20px;
}

.why-item h4 {
    font-size: 1.375rem;
    color: var(--text-main);
    margin: 0 0 12px 0;
}

.why-item p {
    font-size: 1.0625rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.why-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.08);
    border: 1px solid rgba(148,163,184,0.25);
    margin-bottom: 48px;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.1875rem;
    line-height: 2;
}

.why-list li {
    display: flex;
    gap: 10px;
}

.why-list li::before {
    content: "\2713";
    color: var(--brand-green);
    font-weight: bold;
}

/* -------------------------------------------------------
   CTA BANNER
------------------------------------------------------- */
.cta-banner {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 100px;
}

.cta-content h3 {
    font-size: 2rem;
    color: #fff;
    margin: 0 0 12px 0;
}

.cta-content p {
    font-size: 1.1875rem;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.cta-banner .btn-primary {
    background: #fff;
    color: var(--brand-green);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.cta-banner .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* -------------------------------------------------------
   CONTACT SECTION
------------------------------------------------------- */
.contact-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-subtle);
}

.contact-heading {
    font-size: 2rem;
    color: var(--brand-green);
    margin: 0 0 12px 0;
}

.contact-intro {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 0 0 40px 0;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-icon {
    font-size: 1.875rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.contact-item p {
    margin: 0;
    font-size: 1.1875rem;
    font-weight: 500;
    color: var(--text-main);
}

.contact-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.08);
    border: 1px solid rgba(148,163,184,0.25);
}

.contact-link {
    display: inline-flex;
    gap: 8px;
    margin: 10px 0 20px;
    color: var(--brand-green);
    font-weight: 500;
    font-size: 1.125rem;
    transition: opacity 0.2s;
}

.contact-link:hover {
    opacity: 0.8;
}

/* -------------------------------------------------------
   FOOTER
------------------------------------------------------- */
.site-footer {
    background: var(--text-main);
    color: #fff;
    padding: 60px 0 32px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    margin: 0;
    max-width: 340px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.0625rem;
    transition: color 0.2s;
}

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

.footer-copy {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

footer {
    border-top: 1px solid var(--border-subtle);
    margin-top: 24px;
    padding-top: 16px;
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer a:hover {
    color: var(--brand-green);
}

/* -------------------------------------------------------
   FORM STYLES
------------------------------------------------------- */
.form-input input,
.form-input textarea {
    width: 100%;
    padding: 18px 20px;
    margin-top: 10px;
    border-radius: 10px;
    border: 1.5px solid var(--border-subtle);
    font-size: 1.125rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input input:focus,
.form-input textarea:focus {
    outline: none;
    border-color: var(--brand-green);
    box-shadow: 0 0 0 4px rgba(26, 77, 30, 0.1);
}

.form-input label {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--text-main);
}

fieldset {
    border: none;
    padding: 0;
}

/* -------------------------------------------------------
   MODAL
------------------------------------------------------- */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #fff;
    padding: 52px;
    border-radius: 20px;
    text-align: center;
    max-width: 480px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-content h3 {
    font-size: 1.75rem;
    margin-bottom: 18px;
}

.modal-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* -------------------------------------------------------
   FLASH MESSAGES
------------------------------------------------------- */
.message {
    all: unset;
    display: block;
    padding: 10px 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    font-size: 0.9rem;
}
.message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* -------------------------------------------------------
   RESPONSIVE - LARGE TABLET
------------------------------------------------------- */
@media (max-width: 1024px) {
    body { font-size: 17px; }
    .container { padding: 0 28px; }
    .services-container { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .contact-details { grid-template-columns: 1fr 1fr; }
    .cta-banner { flex-direction: column; text-align: center; padding: 52px 44px; }
    .header-phone { display: none; }
    .nav { gap: 28px; }
    .nav a { font-size: 1.0625rem; }
}

/* -------------------------------------------------------
   RESPONSIVE - TABLET
------------------------------------------------------- */
@media (max-width: 768px) {
    body { font-size: 17px; }
    .nav { display: none; }
    .hero { min-height: 65vh; padding: 80px 0; }
    .hero-title { font-size: 2.75rem; }
    .hero-subtitle { font-size: 1.1875rem; }
    .hero-cta { flex-direction: column; gap: 16px; }
    .btn-primary, .btn-secondary { width: 100%; padding: 18px 32px; font-size: 1.125rem; }
    .hero-trust { flex-direction: column; gap: 16px; }
    .trust-item { font-size: 1rem; }
    .content-section { padding: 80px 0; }
    .section-title { font-size: 2.125rem; }
    .section-subtitle { font-size: 1.125rem; }
    .services-container { gap: 24px; margin-bottom: 80px; }
    .service-card { padding: 36px 28px; }
    .service-title { font-size: 1.5rem; }
    .service-desc { font-size: 1.0625rem; }
    .why-grid { gap: 24px; margin-bottom: 80px; }
    .why-item { padding: 36px 28px; }
    .why-item h4 { font-size: 1.25rem; }
    .why-item p { font-size: 1rem; }
    .cta-banner { padding: 48px 36px; }
    .cta-content h3 { font-size: 1.75rem; }
    .cta-content p { font-size: 1.0625rem; }
    .contact-section { padding: 48px 36px; }
    .contact-heading { font-size: 1.75rem; }
    .contact-details { grid-template-columns: 1fr; gap: 28px; }
    .contact-item p { font-size: 1.125rem; }
}

/* -------------------------------------------------------
   RESPONSIVE - MOBILE
------------------------------------------------------- */
@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { padding: 0 20px; }
    .header-inner { padding: 0 20px; }
    .logo { font-size: 1.375rem; }
    .login-link { padding: 10px 20px; font-size: 1rem; }
    .hero { min-height: 60vh; padding: 64px 0; }
    .hero-inner { padding: 0 20px; }
    .hero-badge { padding: 8px 16px; font-size: 0.9375rem; }
    .hero-title { font-size: 2.25rem; }
    .hero-subtitle { font-size: 1.0625rem; margin-bottom: 32px; }
    .hero-cta { margin-bottom: 40px; }
    .btn-primary, .btn-secondary { padding: 16px 28px; font-size: 1.0625rem; }
    .trust-item { font-size: 0.9375rem; }
    .content-section { padding: 64px 0; }
    .section-header { margin-bottom: 44px; }
    .section-label { font-size: 0.875rem; padding: 6px 14px; }
    .section-title { font-size: 1.875rem; }
    .section-subtitle { font-size: 1.0625rem; }
    .services-container { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; }
    .service-card { padding: 36px 28px; }
    .service-icon-wrap { width: 100px; height: 100px; }
    .service-icon-wrap img, .service-card img { width: 80px; height: 80px; }
    .service-title { font-size: 1.375rem; }
    .service-desc { font-size: 1rem; margin-bottom: 24px; }
    .why-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 64px; }
    .why-item { padding: 32px 28px; }
    .why-icon { font-size: 2.25rem; }
    .why-item h4 { font-size: 1.1875rem; }
    .why-item p { font-size: 1rem; }
    .cta-banner { padding: 40px 28px; border-radius: 16px; margin-bottom: 64px; }
    .cta-content h3 { font-size: 1.5rem; }
    .cta-content p { font-size: 1rem; }
    .contact-section { padding: 40px 24px; border-radius: 16px; }
    .contact-heading { font-size: 1.5rem; }
    .contact-intro { font-size: 1rem; margin-bottom: 32px; }
    .contact-item { gap: 16px; }
    .contact-icon { font-size: 1.625rem; }
    .contact-item strong { font-size: 0.875rem; }
    .contact-item p { font-size: 1.0625rem; }
    .site-footer { padding: 48px 0 28px; }
    .footer-brand p { font-size: 1rem; }
    .footer-links { gap: 24px; }
    .footer-links a { font-size: 1rem; }
    .footer-copy { font-size: 0.9375rem; }
    .form-input input, .form-input textarea { padding: 16px 18px; font-size: 1.0625rem; }
    .modal-content { padding: 40px 28px; margin: 20px; }
    .modal-content h3 { font-size: 1.5rem; }
    .modal-content p { font-size: 1.0625rem; }
}

/* Quote Visits status badges */
.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-weight: 600;
  color: #111827;
}
.status-badge.scheduled { background-color: #fde68a; color: #92400e; }
.status-badge.cancelled { background-color: #fecaca; color: #991b1b; }
.status-badge.completed { background-color: #bfdbfe; color: #1e40af; }

/* Quote Visits status select (button-like) */
.status-select {
  padding: 6px 12px;
  border-radius: 9999px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  color: #fff;
}
.status-select.scheduled { background-color: #f59e0b; color: #111827; }
.status-select.cancelled { background-color: #dc2626; color: #ffffff; }
.status-select.completed { background-color: #2563eb; color: #ffffff; }

/* -------------------------------------------------------
   RESPONSIVE - SMALL MOBILE
------------------------------------------------------- */
@media (max-width: 400px) {
    body { font-size: 15px; }
    .container { padding: 0 16px; }
    .hero { min-height: 55vh; padding: 52px 0; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .btn-primary, .btn-secondary { padding: 14px 24px; font-size: 1rem; }
    .section-title { font-size: 1.625rem; }
    .cta-content h3 { font-size: 1.375rem; }
    .contact-heading { font-size: 1.375rem; }
    .service-card { padding: 28px 24px; }
    .why-item { padding: 28px 24px; }
}


/* Accessibility modes (global) */
body.a11y-large-text { font-size: 27px; line-height: 2.0; }
/* Ensure tables (headers and contents) scale with Large Text */
body.a11y-large-text table,
body.a11y-large-text thead,
body.a11y-large-text tbody,
body.a11y-large-text th,
body.a11y-large-text td,
body.a11y-large-text .enquiries-table,
body.a11y-large-text .enquiries-table th,
body.a11y-large-text .enquiries-table td,
body.a11y-large-text .pagination,
body.a11y-large-text .pagination li,
body.a11y-large-text .pagination a {
    font-size: 1em !important;
    line-height: 1.6;
}
body.a11y-contrast {
    --bg-light: #ffffff;
    --card-bg: #ffffff;
    --border-subtle: #111827;
    --text-main: #111827;
    --text-muted: #0a0a0a;
}
