/* =======================
   Tokens & Base
======================= */
:root{
    --pink:#F7E0DE;
    --pink-90:rgba(247,224,222,.90);
    --pink-70:rgba(247,224,222,.70);
    --green:#1a7914;
    --sage:#A5A58D;
    --ink:#1b1b1b;
    --white:#ffffff;
    --ease:cubic-bezier(.25,.46,.45,.94);
}

html, body { max-width:100%; overflow-x:hidden; }
html { scroll-behavior: smooth; }
.page { background:var(--sage); min-height:100vh; max-width:100%; }

body, p { font-family:"Lora", serif; color:var(--ink); }
h2, h3 { font-family:"Aboreto", cursive; }

.aboreto-regular { font-family:"Aboreto", system-ui; font-weight:400; }

.container{ max-width:1200px; margin-inline:auto; padding-inline:1.25rem; }

/* a11y helper */
.sr-only{
    position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip:rect(0,0,1px,1px);white-space:nowrap;border:0;
}

/* =======================
   Topbar (contacts)
======================= */
.topbar{ background:#092f08; font-size:.92rem; color:#fff; }
.topbar__row{ display:flex; justify-content:space-between; align-items:center; min-height:38px; }
.topbar a{ color:#fff; text-decoration:none; }
.topbar a:hover{ text-decoration:underline; }
.topbar .dot{ opacity:.55; margin-inline:.5rem; }

@media (max-width:600px){
    .topbar{ padding-block:.5rem; }
    .topbar__row{ flex-direction:column; gap:.35rem; min-height:unset; }
    .topbar__right{ display:flex; gap:.4rem .9rem; flex-wrap:wrap; justify-content:center; }
    .topbar .dot{ display:none; }
}

/* =======================
   Header + Nav (CSS-only menu)
======================= */
.header__logo{
    display:flex; align-items:center; justify-content:space-between;
    background:#fff; position:relative; flex-wrap:wrap; overflow:hidden; padding:0 50px;
}
.logo{ width:300px; height:auto; display:block; position:relative; }

/* calm entrance */
@keyframes calm-fade{ from{opacity:0; transform:translateY(2px)} to{opacity:1; transform:none} }
.logo{ animation:calm-fade .55s var(--ease) both .05s; }
.navbar .navlink{ animation:calm-fade .40s var(--ease) both; }
.navbar .navlink:nth-child(1){ animation-delay:.08s; }
.navbar .navlink:nth-child(2){ animation-delay:.12s; }
.navbar .navlink:nth-child(3){ animation-delay:.16s; }
.navbar .navlink:nth-child(4){ animation-delay:.20s; }
@media (prefers-reduced-motion:reduce){ .logo, .navbar .navlink{ animation:none !important; } }

.menu{ position:relative; }
.menu-toggle{
    display:none; background:transparent; border:0; cursor:pointer; padding:.5rem; list-style:none;
}
.menu-toggle::-webkit-details-marker{ display:none; }
.menu > .navbar{ display:flex; }

.navbar{
    display:flex; align-items:center; gap:clamp(1rem,6vw,3rem); padding:0; font-size:1.2rem; flex-wrap:wrap;
}
.navlink{
    color:#000; text-decoration:none; font-family:"Aboreto", system-ui; transition:color .2s ease;
}
.navlink:hover{ text-decoration:underline; color:var(--green); }
.cta-btn{
    display:inline-block; padding:.75rem 1.1rem; border-radius:10px; background:var(--green);
    color:#fff; text-decoration:none; font-family:"Aboreto", system-ui; transition:opacity .2s ease;
}
.cta-btn:hover{ opacity:.9; }

@media (min-width:901px){ .menu-toggle{ display:none !important; } }

@media (max-width:900px){
    .header__logo{ flex-direction:column; align-items:center; overflow:visible; }
    .logo{ margin-bottom:.5rem; }
    .menu-toggle{ display:inline-flex; margin-bottom:1rem; }

    .menu > .navbar{
        display:none; position:absolute; top:100%; left:50%; transform:translateX(-50%);
        width:clamp(260px,86vw,360px); background:rgba(255,255,255,.96);
        border:1px solid rgba(0,0,0,.08); border-radius:12px; padding:1rem 1.25rem 1.25rem;
        gap:.25rem; flex-direction:column; align-items:center; box-shadow:0 10px 24px rgba(0,0,0,.12); z-index:999;
    }
    .menu[open] > .navbar{ display:flex; }
}

/* =======================
   Hero
======================= */
@keyframes fade-up{ from{opacity:0; transform:translateY(6px)} to{opacity:1; transform:none} }
.hero__content{ animation:fade-up .55s var(--ease) both .05s; }
@media (prefers-reduced-motion:reduce){ .hero__content{ animation:none; } }

.hero{
    position:relative; min-height:62vh; display:grid; align-items:center; justify-items:start; background:#fff;
}
.hero > .hero__content{
    margin-inline: 0 auto;    /* left aligned: 0 left margin, auto right margin */
    left: 0;                  /* remove any previous nudge */
    padding-left: clamp(12px, 2vw, 32px); /* gentle inset */
}
.hero__img{ position:absolute; inset:0; background:url(./images/ext3.png) center/cover no-repeat; filter:saturate(90%) contrast(95%); z-index:0; }
.hero__veil{ position:absolute; inset:0; background:linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.72) 46%, rgba(255,255,255,0) 100%); }

.hero__content{ position:relative; text-align:left; color:var(--ink); left:30px; }
.hero h1{ font-weight:400; letter-spacing:.4px; margin:0 0 .75rem; line-height:1.05; font-size:50px; }
.hero .accent{ color:var(--green); }
.hero p{ max-width:58ch; margin:0 0 1.2rem; line-height:1.6; font-size:24px; }
.hero__actions{ display:flex; gap:.75rem; flex-wrap:wrap; }

.btn{ display:inline-block; padding:.9rem 1.2rem; border-radius:12px; font-family:"Aboreto", system-ui; text-decoration:none; transition:opacity .2s ease; }
.btn--primary{ background:var(--green); color:#fff; }
.btn--primary:hover{ opacity:.9; }
.btn--ghost{ border:1px solid var(--green); color:var(--green); background:transparent; }
.btn--ghost:hover{ background:rgba(26,121,20,.06); }

@media (max-width:600px){
    .hero__content{ padding:0 1.25rem; left:0; text-align:left; }
    .hero h1{ font-size:35px; line-height:1.2; }
    .hero p{ font-size:20px; }
}

/* =======================
   Services (Grid + Cards + Modal)
======================= */
.services{ background:#fff; padding:clamp(40px,6vw,96px) 0; }
.services__layout{ display:grid; gap:clamp(20px,4vw,48px); align-items:start; }
@media (min-width:980px){
    .services__layout{ grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); align-items:center; }
}

.services__heading{
    font-family:"Aboreto", system-ui; font-weight:400; color:#0f3f0c;
    letter-spacing:.3px; margin:0 0 .5rem; font-size:clamp(28px,3.6vw,40px);
    margin-bottom:clamp(14px,2vw,24px); position:relative; display:inline-block;
}
@media (prefers-reduced-motion:no-preference){
    .services__heading::after{
        content:""; position:absolute; left:0; bottom:-8px; height:2px; width:100%;
        background:var(--green); transform:scaleX(0); transform-origin:left;
        transition:transform .6s var(--ease);
    }
    .services__heading.reveal.in::after{ transform:scaleX(1); }
}

/* Grid */
.services__list{
    list-style:none; margin:0; padding:0;
    display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:clamp(12px, 2.5vw, 20px);
    align-items: stretch;
}
@media (min-width:900px){
    .services__list{ grid-template-columns:repeat(2, minmax(260px,1fr)); /* 👈 ensures each grid item stretches evenly */
    ; }
}
.services__list li {
    display: flex;         /* 👈 make li a flex container */
}
/* Cards */
.services__list li{ position:relative; }
.services__card{
    width:100%; text-align:left; background:#fafafa; border:1px solid rgba(0,0,0,.06);
    border-radius:14px; padding:.9rem 1rem .9rem calc(1rem + 20px);
    font:inherit; color:inherit; cursor:pointer; display:flex; flex-direction:column; gap:.35rem;
    box-shadow:0 6px 14px rgba(0,0,0,.04);
    flex: 1;
}
.services__card:focus-visible{ outline:3px solid rgba(26,121,20,.35); outline-offset:3px; }
.services__card strong{ font-family:"Aboreto", system-ui; font-weight:600; color:#0f3f0c; }
.services__prompt{ font-size:.95rem; color:#1b1b1bb3; }
.services__hint{ display:block; margin-top:.25rem; font-size:.92rem; color:#0f3f0c99; letter-spacing:.1px; }

/* Green dot for each li */
.services__list li:not(.services__cta-item)::before{
    content:""; position:absolute; left:.75rem; top:1.05rem;
    width:10px; height:10px; border-radius:50%; background:var(--green);
    box-shadow:0 0 0 4px rgba(26,121,20,.14);
}
.services__list li:hover::before{
    box-shadow:0 0 0 6px rgba(26,121,20,.18); transition:box-shadow .25s var(--ease);
}
/* Services CTA aligned in 2nd column, same width as cards */
.services__cta-item {
    grid-column: 2;             /* place it in the right-hand column */
    display: flex;
    justify-content: center;   /* let button fill full width */
    align-items: center;
    margin-top: 0;
    width: 100%;
    height: 100%;/* no extra offset */
}

.services__cta-item::before { display: none; }

.services__cta-btn {
    width: 100%;                /* match card width */
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    border-radius: 14px;
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
    background: var(--green);
    color: #fff;
    font-weight: 600;
    text-align: center;
}



@media (min-width:900px){ .services__cta-item{ grid-column:2; justify-self:start; align-items:center; } }
@media (max-width:899px){
    .services__cta-item{ justify-self:center; }
    .services__cta-btn{ max-inline-size:clamp(220px,70vw,340px); width:auto; }
}

/* Services image */
.services__media{ margin:0; }
.services__media img{
    width:100%; height:auto; display:block; border-radius:18px;
    box-shadow:0 16px 40px rgba(0,0,0,.12); object-fit:cover; aspect-ratio:1/1;
}
/* ---- Services CTA in column 2, centered nicely ---- */
@media (min-width:900px){
    /* Services CTA aligned in 2nd column, same width as cards */
    .services__cta-item {
        grid-column: 2;             /* place it in the right-hand column */
        display: flex;
        justify-content: center;   /* let button fill full width */
        align-items: center;
        margin-top: 0;              /* no extra offset */
    }

    .services__cta-item::before { display: none; }

    .services__cta-btn {
        width: 100%;                /* match card width */
        padding: 1rem 1.25rem;
        font-size: 1.05rem;
        border-radius: 14px;
        box-shadow: 0 6px 14px rgba(0,0,0,.08);
        background: var(--green);
        color: #fff;
        font-weight: 600;
        text-align: center;
    }

}/* === Mobile: stack service cards in one column === */
@media (max-width: 900px){
    /* 1 column grid, full-width items */
    .services__list{
        grid-template-columns: 1fr !important;
        gap: 14px; /* a touch tighter on mobile */
    }

    /* cards fill the row */
    .services__list li,
    .services__card{
        width: 100%;
    }

    /* CTA behaves like a normal list item at the end */
    .services__cta-item{
        grid-column: auto !important;
        justify-self: stretch;
    }
    .services__cta-btn{
        width: 100%;
        max-inline-size: none;
    }
}


/* Services reveal */
@media (prefers-reduced-motion:no-preference){
    .reveal{
        opacity:0; transform:translateY(10px) scale(.98); filter:blur(2px);
        will-change:opacity, transform, filter;
        transition:opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease);
        transition-delay:calc(var(--stagger, 0) * 60ms);
    }
    .reveal.in{ opacity:1; transform:none; filter:none; }
    .services__media.reveal img{ transform:scale(1.03); transition:transform 1.1s var(--ease); }
    .services__media.reveal.in img{ transform:scale(1); }
}

/* ---------- Modal ---------- */
.modal[hidden]{ display:none; }
.modal{ position:fixed; inset:0; z-index:1000; display:grid; place-items:center; }
.modal__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.45); }
.modal__dialog{
    position:relative; width:min(680px,92vw); background:#fff; border-radius:18px;
    padding:clamp(18px,3vw,26px); box-shadow:0 20px 60px rgba(0,0,0,.25);
}
.modal__title{ margin:0 0 .5rem; color:#0f3f0c; font-size:clamp(22px,3.2vw,28px); }
.modal__paragraph{ margin:.5rem 0 1rem; color:#1b1b1b; line-height:1.65; }
.modal__bullets{ margin:0; padding:0; list-style:none; display:grid; grid-template-columns:1fr; gap:.4rem .8rem; }
@media (min-width:560px){ .modal__bullets{ grid-template-columns:repeat(2,1fr); } }
.modal__bullets li{ display:flex; align-items:flex-start; gap:.45rem; }
.modal__bullets li::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--green); margin-top:.45rem; }
.modal__actions{ display:flex; gap:.6rem; margin-top:1rem; flex-wrap:wrap; }
.modal__close{
    position:absolute; top:10px; right:12px; background:transparent; border:0;
    font-size:26px; line-height:1; cursor:pointer; color:#2a2a2a;
}
.modal__close:focus-visible{ outline:3px solid rgba(26,121,20,.35); outline-offset:3px; }

/* =======================
   Non-Skilled Home Care (refined)
======================= */
.non-skilled{
    background:#fff;
    padding:clamp(40px,6vw,96px) 0;
}

.non-skilled__wrap{
    max-width:1200px;
    margin-inline:auto;
    padding-inline:1.25rem;
}

.non-skilled__header{
    margin-bottom:clamp(18px,3vw,28px);
}
.non-skilled__header h2{
    font-size:clamp(28px,3.6vw,40px);
    color:#0f3f0c;
    font-weight:400;
    margin:0 0 .6rem;
    position:relative;
    display:inline-block;
    letter-spacing:.02em;
}
@media (prefers-reduced-motion:no-preference){
    .non-skilled__header h2::after{
        content:"";
        position:absolute; left:0; bottom:-8px; height:2px; width:100%;
        background:var(--green);
        transform:scaleX(0);
        transform-origin:left;
        transition:transform .6s var(--ease);
    }
    .non-skilled:target .non-skilled__header h2::after{ transform:scaleX(1); }
}
.non-skilled__intro{
    margin:0;
    max-width:60ch;
    line-height:1.65;
    color:#1b1b1b;
}

/* grid of the two info cards */
.non-skilled__grid{
    display:grid;
    grid-template-columns:1fr;
    gap:clamp(16px,2.6vw,24px);
    margin-top:clamp(16px,2.2vw,24px);
}
@media (min-width:900px){
    .non-skilled__grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}

.non-skilled__card{
    background:#fafafa;
    border:1px solid rgba(0,0,0,.06);
    border-radius:16px;
    padding:clamp(18px,2.4vw,24px);
    box-shadow:0 12px 28px rgba(0,0,0,.08);
}

/* eyebrows / subheads */
.non-skilled__eyebrow{
    margin:.1rem 0 .6rem;
    color:#0f3f0c;
    font-weight:600;
    font-size:1.05rem;
    letter-spacing:.06em;
    text-transform:uppercase;
}

/* body text */
.non-skilled__body{
    margin:.25rem 0 1rem;
    line-height:1.7;
}

/* bullet list — FIX: absolute bullet + left padding so dots don’t take a row */
.non-skilled__list{
    margin:0;
    padding:0;
    list-style:none;
    display:grid;
    gap:.55rem;
}
.non-skilled__list li{
    position:relative;
    padding-left:1.2rem;          /* space for the bullet */
    line-height:1.65;
}
.non-skilled__list li::before{
    content:"";
    position:absolute;
    left:0; top:.55rem;           /* vertically centers the dot on first line */
    width:8px; height:8px;
    border-radius:50%;
    background:var(--green);
    box-shadow:0 0 0 2px rgba(26,121,20,.12);
}

/* strong labels inside list copy */
.non-skilled__list strong{
    font-weight:700;
    color:#0f3f0c;
}

/* section CTA */
.non-skilled__cta{
    display:flex;
    justify-content:center;
    margin-top:clamp(18px,3vw,28px);
}
.non-skilled__cta .btn{
    min-width:260px;
    border-radius:14px;
    box-shadow:0 8px 18px rgba(0,0,0,.14);
}


/* =======================
   About
======================= */
.about{ background:#fff; padding:clamp(40px,6vw,96px) 0; }
.about__grid{ display:grid; gap:clamp(20px,4vw,48px); align-items:start; grid-template-columns:1fr; }
@media (min-width:980px){ .about__grid{ grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); } }

.about__eyebrow{ font-size:.9rem; letter-spacing:.08em; text-transform:uppercase; color:var(--green); margin:0 0 .35rem; }
.about__title{ font-size:clamp(28px,3.6vw,40px); font-weight:400; margin:0 0 .75rem; color:#0f3f0c; position:relative; display:inline-block; }
.about__title::after{ content:""; display:block; width:clamp(90px,18vw,140px); height:2px; background:var(--green); border-radius:2px; margin-top:.6rem; }

.about__body p{
    font-size:clamp(1rem, 1.2vw, 1.125rem); line-height:1.7; margin:1rem 0;
    background:rgba(255,255,255,.6); border-left:4px solid rgba(26,121,20,.14); padding-left:1rem;
}

.about__pills{ list-style:none; margin:1.1rem 0 0; padding:0; display:flex; flex-wrap:wrap; gap:.5rem .75rem; }
.about__pills li{
    font-size:.95rem; background:var(--white); border:1px solid rgba(26,121,20,.18);
    border-radius:999px; padding:.5rem .9rem; box-shadow:0 6px 14px rgba(0,0,0,.06);
}

.about__media{ display:grid; gap:.75rem; }
.about__hero{
    width:100%; height:clamp(220px,32vw,360px); object-fit:cover; border-radius:18px; box-shadow:0 16px 40px rgba(0,0,0,.12);
}
.about__mosaic{ display:grid; grid-template-columns:repeat(2,1fr); gap:.75rem; }
.about__mosaic img{
    width:100%; height:clamp(120px,15vw,180px); object-fit:cover; border-radius:14px; box-shadow:0 8px 20px rgba(0,0,0,.10);
}
.about__caption{ font-size:.9rem; color:#2f4f2f; opacity:.9; margin-top:.1rem; }

.about__hero, .about__mosaic img{ object-fit:cover; object-position:center; display:block; }



/* About entrance */
@media (prefers-reduced-motion:no-preference){
    .about__copy, .about__media{ opacity:0; transform:translateY(8px); animation:about-fade .7s var(--ease) .05s both; }
    .about__media{ animation-delay:.12s; }
    @keyframes about-fade{ to{ opacity:1; transform:none; } }

    /* underline sweep like Services */
    .about .reveal{ transition-delay:calc(var(--stagger,0) * 60ms); }
    .about__hero.reveal, .about__mosaic img.reveal{ transform:scale(1.03); transition:transform 1.1s var(--ease); }
    .about__hero.reveal.in, .about__mosaic img.reveal.in{ transform:scale(1); }

    .about__title{ position:relative; display:inline-block; }
    .about__title::after{
        content:""; position:absolute; left:0; bottom:-8px; width:100%; height:2px; background:var(--green);
        border-radius:2px; transform:scaleX(0); transform-origin:left; transition:transform .6s var(--ease);
    }
    .about__title.reveal.in::after{ transform:scaleX(1); }
}

/* =======================
   Contact
======================= */
.contact{ background:#fff; padding:clamp(40px,6vw,96px) 0; }
.contact__grid{ display:grid; grid-template-columns:1fr; gap:clamp(18px,3vw,28px); }

.contact__eyebrow{ font-size:.9rem; text-transform:uppercase; letter-spacing:.08em; color:var(--green); margin:0 0 .4rem; }
.contact__title{ font-size:clamp(28px,3.6vw,40px); font-weight:400; color:#0f3f0c; margin:0 0 .6rem; position:relative; display:inline-block; }
@media (prefers-reduced-motion:no-preference){
    .contact__title::after{
        content:""; position:absolute; left:0; bottom:-8px; width:100%; height:2px; background:var(--green);
        transform:scaleX(0); transform-origin:left; transition:transform .6s var(--ease);
    }
    .contact__title.reveal.in::after{ transform:scaleX(1); }
    .contact .reveal{ transition-delay:calc(var(--stagger,0) * 60ms); }
}

.contact__intro{ margin:0; max-width:58ch; line-height:1.6; }

.contact__cards{
    display:grid; grid-template-columns:1fr; gap:60px; justify-content:center;
    margin-top:clamp(14px,2vw,22px); align-items:center;
}
@media (min-width:980px){
    .contact__cards{
        grid-template-columns:repeat(2, minmax(360px,520px));
        align-items:stretch; max-width:1160px; margin-inline:auto;
    }
}

.contact__card{
    background:#fafafa;
    border:1px solid rgba(0,0,0,.06);
    border-radius:16px;
    padding:clamp(16px, 2.2vw, 22px);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    width:100%;
    box-sizing:border-box;
}
.contact__card-title{ margin:0 0 .25rem; font-weight:600; color:#0f3f0c; }
.contact__person{ margin:.2rem 0 .2rem; }

.contact__list{ list-style:none; margin:.75rem 0 0; padding:0; display:grid; gap:.65rem; }
.contact__item{ display:flex; gap:.6rem; align-items:flex-start; }
.contact__icon{ width:1.25rem; display:inline-flex; justify-content:center; }
.contact__list a{ color:inherit; text-decoration:none; border-bottom:1px solid rgba(26,121,20,.2); }
.contact__list a:hover{ color:var(--green); border-color:var(--green); }
.contact__cta{ display:flex; gap:.6rem; flex-wrap:wrap; margin-top:1rem; }

/* Map with overlay button */
.contact__map{ position:relative; margin:0; border-radius:18px; overflow:hidden; box-shadow:0 16px 40px rgba(0,0,0,.12); }
.contact__map iframe{ width:100%; height:360px; border:0; display:block; }
.contact__map-link{ position:absolute; inset:0; background:transparent; border:0; padding:0; cursor:pointer; z-index:2; }
.contact__map-hint{
    position:absolute; right:.5rem; bottom:.5rem; font-size:.85rem; line-height:1;
    background:rgba(26,121,20,.92); color:#fff; padding:.45rem .6rem; border-radius:999px; box-shadow:0 4px 16px rgba(0,0,0,.18); pointer-events:none;
}
.contact__map-link:focus-visible{ outline:3px solid rgba(26,121,20,.7); outline-offset:3px; }
.contact__map-fallback{
    position:absolute; right:.5rem; bottom:.5rem; z-index:3;
    background:rgba(26,121,20,.92); color:#fff; text-decoration:none; padding:.45rem .6rem; border-radius:999px; font-size:.85rem;
}

/* =======================
   Footer
======================= */
.site-footer{
    background:#092f08; color:#fff; padding:1rem 2rem; text-align:center; font-size:.85rem;
}
.site-footer a{ color:#fff; text-decoration:none; opacity:.8; transition:opacity .2s ease; }
.site-footer a:hover{ opacity:1; }
.footer-container{ display:flex; flex-direction:column; gap:.25rem; }
.copyright{color:#ffffff }
.credit{ font-size:.5rem; opacity:.7; }
