/* Kindred Beacon Care — Main stylesheet */
:root {
  --navy: #123b53;
  --sage: #758873;
  --gold: #d7aa65;
  --cream: #f7f7f2;
  --white: #ffffff;
  --text: #53636a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, sans-serif; background: var(--cream); color: var(--navy); }
h1, h2, h3 { margin-top: 0; }
p { font-size: 18px; line-height: 1.7; }
a { transition: color .2s ease, background-color .2s ease; }

/* Header */
.site-header { background: var(--white); padding: 20px 5%; border-bottom: 1px solid #e8e8e8; }
.header-container { max-width: 1400px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; flex-direction: column; flex-shrink: 0; }
.brand-name { font-family: Georgia, serif; font-size: 24px; letter-spacing: 2px; font-weight: bold; color: var(--navy); }
.brand-subtitle { font-size: 10px; letter-spacing: 2px; color: var(--sage); }
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav a { color: var(--navy); font-size: 14px; text-decoration: none; white-space: nowrap; }
.main-nav a:hover { color: var(--sage); }
.header-button { background: var(--navy); color: white; padding: 12px 20px; border-radius: 6px; text-decoration: none; white-space: nowrap; }
.header-button:hover { background: var(--sage); }

/* Shared buttons and labels */
.hero-label, .section-label { color: var(--sage); font-size: 13px; font-weight: bold; letter-spacing: 3px; }
.primary-button, .secondary-button { display: inline-block; padding: 15px 25px; border-radius: 6px; text-decoration: none; font-size: 15px; font-weight: 500; }
.primary-button { background: var(--navy); color: white; }
.primary-button:hover { background: var(--sage); }
.secondary-button { border: 1px solid var(--navy); color: var(--navy); }
.secondary-button:hover { background: var(--navy); color: white; }

/* Hero */
.hero { background: var(--cream); padding: 90px 5%; }
.hero-container { max-width: 1400px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.hero h1 { font-family: Georgia, serif; font-size: clamp(40px, 5vw, 66px); line-height: 1.15; margin: 20px 0; }
.hero p { color: var(--text); font-size: 18px; line-height: 1.8; max-width: 580px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 30px; }
.hero-image { min-height: 420px; background: #e1e8de; border-radius: 18px; overflow: hidden; }
.hero-image img { display: block; width: 100%; height: 420px; object-fit: cover; }

/* Services */
.services { background: white; padding: 90px 5%; text-align: center; }
.services-container { max-width: 1400px; margin: auto; }
.services h2 { font-family: Georgia, serif; font-size: clamp(32px, 4vw, 46px); margin: 18px auto; max-width: 750px; }
.section-intro { color: #647078; max-width: 650px; margin: 0 auto 45px; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.service-card { background: var(--cream); border: 1px solid #e8ece6; border-radius: 14px; padding: 35px 20px; transition: transform .2s ease; }
.service-card:hover { transform: translateY(-5px); }
.service-icon { width: 65px; height: 65px; margin: 0 auto 22px; border-radius: 50%; background: #e5ebe1; color: var(--sage); display: flex; align-items: center; justify-content: center; font-size: 32px; }
.service-card h3 { font-family: Georgia, serif; font-size: 21px; margin-bottom: 12px; }
.service-card p { color: #647078; font-size: 15px; line-height: 1.6; }

/* Why Choose Us */
.why-us { background: var(--cream); padding: 100px 5%; }
.why-us-container { max-width: 1400px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-us-content h2 { font-family: Georgia, serif; font-size: clamp(36px, 4vw, 50px); margin: 20px 0; }
.why-us-content p { color: #647078; font-size: 18px; line-height: 1.8; margin-bottom: 30px; }
.why-us-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.benefit { background: white; padding: 30px; border-radius: 14px; }
.benefit-icon { width: 55px; height: 55px; background: #e5ebe1; color: var(--sage); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 27px; margin-bottom: 20px; }
.benefit h3 { font-family: Georgia, serif; font-size: 20px; }
.benefit p { font-size: 15px; color: #647078; line-height: 1.6; }

/* Service Area — centered layout with visible skyline */
.service-area {
  background-color: #e9efec;
  background-image: linear-gradient(rgba(247, 247, 242, .10), rgba(247, 247, 242, .15)), url("images/vancouver-skyline.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 110px 5%;
  text-align: center;
}
.service-area-container { max-width: 800px; margin: auto; }
.service-area h2 { font-family: Georgia, serif; font-size: clamp(34px, 4vw, 48px); margin: 20px 0; }
.service-area p { color: #17384a; font-size: 18px; line-height: 1.8; margin-bottom: 35px; }

/* Contact */
.contact { background: white; padding: 100px 5%; }
.contact-container { max-width: 1400px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info h2 { font-family: Georgia, serif; font-size: clamp(34px, 4vw, 48px); margin: 20px 0; }
.contact-info > p { color: var(--text); margin-bottom: 35px; }
.contact-info h3 { margin: 25px 0 8px; font-size: 18px; }
.contact-info a { color: var(--sage); text-decoration: none; overflow-wrap: anywhere; }
.contact-form-container { background: var(--cream); padding: 40px; border-radius: 16px; }
.contact-form-container h3 { font-family: Georgia, serif; font-size: 28px; margin-bottom: 25px; }
.contact form { display: flex; flex-direction: column; gap: 12px; }
.contact label { font-size: 14px; font-weight: bold; }
.contact input, .contact textarea { width: 100%; padding: 14px; border: 1px solid #ccd6d0; border-radius: 6px; background: white; font-family: Arial, sans-serif; font-size: 16px; }
.contact input:focus, .contact textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; }
.contact form button { border: 0; cursor: pointer; font-family: Arial, sans-serif; font-size: 16px; margin-top: 10px; }
.contact .form-notice { font-size: 12px; color: #647078; margin-top: 8px; }

/* Tablets */
@media (max-width: 1100px) {
  .header-container { flex-wrap: wrap; }
  .main-nav { flex-wrap: wrap; gap: 15px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-container, .why-us-container, .contact-container { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 5%; }
  .hero-image { min-height: 300px; }
  .hero-image img { height: 300px; }
}
/* Phones */
@media (max-width: 600px) {
  .site-header { padding: 20px 5%; }
  .brand-name { font-size: 20px; }
  .brand-subtitle { font-size: 8px; }
  .main-nav { width: 100%; gap: 12px; }
  .main-nav a { font-size: 13px; }
  .hero h1 { font-size: 40px; }
  .services-grid, .why-us-grid { grid-template-columns: 1fr; }
  .service-area { padding: 70px 5%; background-position: center; }
  .service-area h2 { font-size: 34px; }
  .contact { padding: 70px 5%; }
  .contact-form-container { padding: 25px; }
}


/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 50px 5% 20px;
}

.footer-container {
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand-name {
    font-family: Georgia, serif;
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--white);
}

.footer-brand-subtitle {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gold);
}

.footer-nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 35px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #C7D2D8;
    margin: 0;
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
        gap: 15px;
    }
}


/* Business Phone Number */

.contact-phone {
    display: inline-block;
    font-size: 26px;
    font-weight: bold;
    color: var(--navy);
    text-decoration: none;
    margin-top: 5px;
}

.contact-phone:hover {
    color: var(--sage);
}

.phone-numeric {
    font-size: 15px;
    color: var(--text);
    margin-top: 5px;
}


/* Consultation form feedback and bot trap */
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
    margin: 0;
    font-weight: 600;
}

.form-status:empty {
    display: none;
}

.form-status:not(:empty) {
    margin-top: 12px;
}
.form-status.success { color: #276044; }
.form-status.error { color: #a72f2f; }
#consultation-form button:disabled { opacity: .65; cursor: wait; }

/* About Us page */
.about-wrap { max-width: 1200px; margin: 0 auto; }
.about-hero { background: var(--cream); padding: 100px 5% 105px; text-align: center; }
.about-hero .about-wrap { max-width: 900px; }
.about-hero h1 { font-family: Georgia, serif; font-size: clamp(38px, 5vw, 62px); line-height: 1.16; margin: 22px 0; }
.about-hero p { color: var(--text); max-width: 760px; margin: 0 auto; }
.about-story { background: var(--white); padding: 100px 5%; }
.about-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; }
.about-story h2, .about-values h2, .about-cta h2 { font-family: Georgia, serif; font-size: clamp(32px, 4vw, 46px); line-height: 1.2; margin: 18px 0 24px; }
.about-story p { color: var(--text); margin: 0 0 20px; }
.about-values { background: #edf1ea; padding: 100px 5%; }
.about-values-heading { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.about-values-heading p { color: var(--text); }
.about-values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.about-value { background: var(--white); border-radius: 14px; padding: 30px 25px; }
.about-value-number { font-family: Georgia, serif; color: var(--sage); font-size: 27px; }
.about-value h3 { font-family: Georgia, serif; font-size: 22px; margin: 20px 0 12px; }
.about-value p { color: var(--text); font-size: 15px; line-height: 1.65; margin: 0; }
.about-cta { padding: 90px 5%; text-align: center; background: var(--cream); }
.about-cta .about-wrap { max-width: 750px; }
.about-cta p { color: var(--text); margin-bottom: 30px; }
@media (max-width: 900px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .about-hero, .about-story, .about-values, .about-cta { padding: 65px 5%; }
  .about-values-grid { grid-template-columns: 1fr; }
}


/* Service Area - Clean Layout */

.service-area {
    background: #f8f7f2 !important;
    background-image: none !important;
    text-align: center;
}

.service-area h2 {
    color: #073b57;
}

.service-area p {
    color: #4f6070;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-area .section-label {
    color: #657b7a;
}

@media (max-width: 768px) {
    .brand {
    min-width: 0;
    flex: 1;
    }

    .brand-logo {
    width: 100%;
    max-width: 270px;
    height: auto;
    }

    .mobile-menu-button {
    flex-shrink: 0;
    }
    .service-area {
        padding: 65px 20px;
    }



    .service-area h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .service-area p {
        font-size: 1rem;
        line-height: 1.7;
    }
}


/* Clean Service Area Section */

.service-area {
    background: #f8f7f2 !important;
    background-image: none !important;
    text-align: center;
}

.service-area h2 {
    color: #073b57;
}

.service-area p {
    color: #4f6070;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-area .section-label {
    color: #657b7a;
}

@media (max-width: 768px) {
    .service-area {
        padding: 65px 20px;
    }

    .service-area h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .service-area p {
        font-size: 1rem;
        line-height: 1.7;
    }
}


/* Mobile Navigation */

.mobile-menu-toggle,
.mobile-menu-button {
    display: none;
}

@media (max-width: 768px) {

    .header-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

    .mobile-menu-button {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 10px;
        cursor: pointer;
    }

    .mobile-menu-button span {
        display: block;
        width: 24px;
        height: 2px;
        background: #073b57;
        border-radius: 2px;
    }

    .main-nav {
        display: none;
        order: 3;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        padding: 12px 0;
    }

    .main-nav a {
        display: block;
        padding: 14px 8px;
        font-size: 15px;
    }

    .mobile-menu-toggle:checked ~ .main-nav {
        display: flex;
    }

    .mobile-menu-toggle:focus-visible + .mobile-menu-button {
        outline: 2px solid #073b57;
        outline-offset: 3px;
    }

    .header-button {
        display: none;
    }
}


/* Keep navigation visible while scrolling */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Prevent section headings from hiding behind the header */

html {
    scroll-padding-top: 100px;
}

.brand-logo {
    display: block;
    width: auto;
    height: 100px;
    max-width: 100%;
    object-fit: contain;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}