/* ======================================================
   AppleCore Services
   style.css
   Part 1 - Reset, Variables, Layout, Header, Hero, Trust
====================================================== */

:root{

    --bg:#f6f6f4;
    --white:#ffffff;

    --text:#1b1b1b;
    --muted:#666666;

    --green:#4c7a37;
    --orange:#f47b20;

    --border:#e6e6e6;

    --radius:20px;

    --shadow:0 15px 40px rgba(0,0,0,.08);

    --max-width:1200px;

}

/* ---------- Reset ---------- */

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

    background:var(--bg);

    color:var(--text);

    line-height:1.7;

}

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

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

section{
    padding:90px 0;
}

.container{

    width:min(var(--max-width),92%);
    margin:auto;

}

h1,h2,h3,h4{

    line-height:1.15;

}

p{

    color:var(--muted);

}

.lead{

    font-size:1.15rem;

}

.eyebrow{

    color:var(--green);

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.12em;

    font-size:.8rem;

    margin-bottom:18px;

}

/* ---------- Header ---------- */

header{

    position:sticky;

    top:0;

    z-index:999;

    background:rgba(255,255,255,.92);

    backdrop-filter:blur(18px);

    border-bottom:1px solid var(--border);

}

.nav{

    display:flex;

    justify-content:space-between;

    align-items:center;

    min-height:82px;

}

.logo{

    display:flex;

    align-items:center;

    gap:14px;

    font-weight:800;

    font-size:1.3rem;

    color:var(--text);

}

.logo img{

    width:46px;

    height:46px;

}

nav{

    display:flex;

    gap:34px;

}

nav a{

    font-weight:600;

    color:#444;

    transition:.25s;

}

nav a:hover{

    color:var(--orange);

}

/* ---------- Hero ---------- */

.hero{

    padding:110px 0;

}

.hero-grid{

    display:grid;

    grid-template-columns:1.05fr .95fr;

    gap:70px;

    align-items:center;

}

.hero h1{

    font-size:clamp(3rem,6vw,5.3rem);

    margin-bottom:26px;

}

.hero p{

    max-width:560px;

}

.buttons{

    display:flex;

    gap:18px;

    margin-top:42px;

}

.btn{

    display:inline-block;

    padding:16px 34px;

    border-radius:999px;

    font-weight:700;

    transition:.25s;

}

.primary{

    background:var(--green);

    color:white;

}

.primary:hover{

    transform:translateY(-3px);

    box-shadow:var(--shadow);

}

.secondary{

    border:2px solid var(--green);

    color:var(--green);

}

.secondary:hover{

    background:var(--green);

    color:white;

}



/* ---------- Trust Section ---------- */

.trust{

    background:white;

    border-top:1px solid var(--border);

    border-bottom:1px solid var(--border);

}

.trust-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.trust-item{

    padding:20px;

}

.trust-item h3{

    margin-bottom:12px;

    font-size:1.3rem;

}

.trust-item p{

    font-size:.98rem;

}
/* ======================================================
   Part 2 - Services, About, Contact, Footer, Responsive
====================================================== */

/* ---------- Services ---------- */

#services h2,
#about h2,
#contact h2{
    text-align:center;
    margin-bottom:24px;
    font-size:2.6rem;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:50px;
}

.card{
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:34px;
    box-shadow:0 6px 18px rgba(0,0,0,.03);
    transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow);
}

.card h3{
    margin-bottom:14px;
    color:var(--text);
    font-size:1.3rem;
}

.card p{
    color:var(--muted);
}

/* ---------- About ---------- */

#about{
    background:var(--white);
}

.about-layout{
    display:grid;
    grid-template-columns:360px 1fr;
    gap:60px;
    align-items:center;
}

.about-photo img{
    width:100%;
    border-radius:24px;
    box-shadow:var(--shadow);
}

.about-text .lead{
    margin-bottom:24px;
}

.about-text p{
    margin-bottom:18px;
}

@media (max-width:900px){

    .about-layout{
        grid-template-columns:1fr;
        text-align:center;
    }

    .about-photo{
        max-width:350px;
        margin:auto;
    }

}



/* ---------- Contact ---------- */

#contact{
    background:var(--bg);
}

.contact-box{
    background:var(--white);
    max-width:850px;
    margin:auto;
    padding:70px;
    border-radius:28px;
    box-shadow:var(--shadow);
}

.contact-box p{
    text-align:center;
}

.contact-form{
    margin-top:40px;
}

.form-row{
    margin-bottom:20px;
}

.contact-form input,
.contact-form textarea{

    width:100%;

    padding:18px 20px;

    border:1px solid var(--border);

    border-radius:14px;

    font-size:1rem;

    font-family:inherit;

    background:#fafafa;

    transition:.25s;

}

.contact-form textarea{
    resize:vertical;
    min-height:180px;
}

.contact-form input:focus,
.contact-form textarea:focus{

    outline:none;

    border-color:var(--green);

    background:white;

}

.contact-form button{
    border:none;
    cursor:pointer;
}

.small-print{

    margin-top:24px;

    font-size:.85rem;

    text-align:center;

    color:#888;

}

/* ---------- Footer ---------- */

footer{

    background:#1d1d1f;

    color:white;

    margin-top:90px;

}

.footer{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

    padding:70px 0;

}

.footer h3,
.footer h4{

    margin-bottom:18px;

    color:white;

}

.footer p{

    color:#cccccc;

    margin-bottom:10px;

}

.footer a{

    color:#cccccc;

    transition:.25s;

}

.footer a:hover{

    color:white;

}

.copyright{

    text-align:center;

    padding:25px;

    border-top:1px solid rgba(255,255,255,.08);

    color:#999;

    font-size:.9rem;

}

/* ---------- Mobile ---------- */

@media (max-width:900px){

    .hero{
        padding:70px 0;
    }

    .hero-grid{
        grid-template-columns:1fr;
        text-align:center;
        gap:50px;
    }

    .hero p{
        margin:auto;
    }

    .buttons{
        justify-content:center;
        flex-wrap:wrap;
    }

    .trust-grid{
        grid-template-columns:1fr;
        gap:10px;
    }

    .footer{
        grid-template-columns:1fr;
        text-align:center;
        gap:40px;
    }

    nav{
        display:none;
    }

    .contact-box{
        padding:40px 25px;
    }

    section{
        padding:70px 0;
    }

    #services h2,
    #about h2,
    #contact h2{
        font-size:2rem;
    }

}

@media (max-width:600px){

    .hero h1{
        font-size:2.5rem;
    }

    .logo{
        font-size:1.1rem;
    }

    .logo img{
        width:38px;
        height:38px;
    }

    .btn{
        width:100%;
        text-align:center;
    }

    .buttons{
        flex-direction:column;
    }

}
.logo-hero{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f6f8f6;
    border-radius:24px;
    padding:40px;
    min-height:420px;
}

.logo-hero img{
    max-width:90%;
    max-height:340px;
    width:auto;
    height:auto;
    object-fit:contain;
}

/* ==========================
   REVIEWS
========================== */

#reviews{
    background:#f8fbf9;
    padding:100px 0;
}

#reviews .cards{
    margin-top:50px;
}

#reviews .card{
    text-align:left;
    position:relative;
}

.stars{
    color:#f6b400;
    font-size:1.3rem;
    letter-spacing:3px;
    margin-bottom:18px;
}

#reviews .card p{
    font-style:italic;
    margin-bottom:25px;
}

#reviews strong{
    display:block;
    color:var(--green);
    margin-bottom:4px;
}

#reviews span{
    color:#777;
    font-size:.95rem;
}

.review-links{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:50px;
    flex-wrap:wrap;
}
/* ==========================
   TRUST BAR
========================== */

.trust-bar{
    background:#1d4333;
    color:#fff;
    padding:24px 0;
}

.trust-bar-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    flex-wrap:wrap;
}

.trust-item{
    flex:1;
    min-width:220px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
    border-radius:16px;
    transition:.25s;
    cursor:pointer;
    color:#fff;
}

.trust-item:hover{
    background:rgba(255,255,255,.08);
    transform:translateY(-3px);
    color:#fff;
}

.trust-item strong{
    display:block;
    font-size:1.1rem;
    margin:8px 0 4px;
}

.trust-item span{
    color:rgba(255,255,255,.8);
    font-size:.95rem;
}

@media (max-width:768px){

.trust-bar-content{
    flex-direction:column;
    gap:25px;
}

}
.service-card{
    display:block;
    text-decoration:none;
    color:inherit;
    cursor:pointer;
}

.service-card:hover{
    text-decoration:none;
    color:inherit;
    border-color:var(--orange);
}

.service-card:hover h3{
    color:var(--orange);
}