/* NEWLIFE AFH LLC — warm residential stylesheet
   Cream background, sage accents, terracotta highlights, serif headlines. */

:root {
    /* Warm palette */
    --cream:       #FAF5EC;
    --cream-deep:  #F1E9D8;
    --ivory:       #FDFBF6;
    --sage:        #7E8F6F;
    --sage-deep:   #5C6E50;
    --sage-soft:   #E2E7DB;
    --terracotta:  #B86A4B;
    --terracotta-deep: #964E33;
    --ink:         #2C2820;
    --ink-soft:    #6B6357;
    --rule:        #E8DECB;
    --shadow-sm:   0 1px 2px rgba(60, 47, 24, 0.06);
    --shadow-md:   0 12px 32px -10px rgba(60, 47, 24, 0.18);
    --radius:      4px;
    --radius-lg:   8px;
    --max-w:       1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--terracotta-deep); text-decoration: none; border-bottom: 1px solid rgba(150, 78, 51, 0.25); padding-bottom: 1px; transition: border-color 0.15s; }
a:hover { border-bottom-color: var(--terracotta); }
a.bare { border: 0; padding: 0; }

h1, h2, h3 {
    font-family: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
    color: var(--ink);
    margin-top: 0;
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; font-weight: 500; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; font-weight: 600; }

h1 em, h2 em { font-style: italic; color: var(--sage-deep); }

p { margin: 0 0 1.1rem; color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

/* ── Top nav ───────────────────────────────────────────── */
.site-header {
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    position: sticky;
    top: 0;
    z-index: 10;
}
.nav-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1.25rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.brand {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--ink);
    letter-spacing: 0.02em;
}
.brand small {
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 4px;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.nav-links a {
    color: var(--ink);
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    border-bottom: 0;
    padding: 0;
    position: relative;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--terracotta-deep);
}
.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--terracotta);
}
.nav-cta {
    background: var(--terracotta);
    color: var(--ivory) !important;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    border: 0 !important;
}
.nav-cta:hover { background: var(--terracotta-deep); color: var(--ivory); }
.nav-cta::after { display: none; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
    background: var(--cream);
    padding: 5rem 1.75rem 4rem;
    border-bottom: 1px solid var(--rule);
}
.hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-eyebrow {
    font-family: "Inter", sans-serif;
    color: var(--terracotta-deep);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1.25rem;
}
.hero h1 { max-width: 14ch; margin-bottom: 1.5rem; }
.hero h1 em { display: block; }
.hero p { font-size: 1.1rem; max-width: 42ch; line-height: 1.6; }

.hero-card {
    background: var(--ivory);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    box-shadow: var(--shadow-md);
}
.hero-card h3 {
    font-family: "Inter", sans-serif;
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rule);
}
.hero-card .row {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--rule);
    font-size: 0.96rem;
}
.hero-card .row:last-child { border-bottom: 0; }
.hero-card .row .label {
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-soft);
    font-weight: 600;
}
.hero-card .row .value {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.15rem;
    color: var(--ink);
    font-weight: 500;
}
.hero-card .row .value a { color: var(--terracotta-deep); }

.btn {
    display: inline-block;
    background: var(--terracotta);
    color: var(--ivory) !important;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    padding: 0.95rem 2rem;
    border-radius: 999px;
    margin-top: 1.75rem;
    border-bottom: 0 !important;
    transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: var(--terracotta-deep); transform: translateY(-1px); }
.btn-quiet {
    background: transparent;
    color: var(--terracotta-deep) !important;
    border: 1.5px solid var(--terracotta);
    padding: 0.85rem 1.9rem;
}
.btn-quiet:hover { background: var(--terracotta); color: var(--ivory) !important; }

/* ── Sections ─────────────────────────────────────────── */
section { padding: 5rem 1.75rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-sage { background: var(--sage-soft); }
.section-ivory { background: var(--ivory); }

.eyebrow {
    color: var(--terracotta-deep);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--terracotta);
}

.section-lead { font-size: 1.15rem; max-width: 52ch; line-height: 1.6; }

/* ── Cards (warmer) ───────────────────────────────────── */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.card {
    background: transparent;
    padding: 0;
    border: 0;
    border-top: 1px solid var(--rule);
    padding-top: 1.75rem;
}
.card .icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cream-deep);
    color: var(--terracotta-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: "Cormorant Garamond", serif;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.97rem; line-height: 1.6; }

/* ── Lists ────────────────────────────────────────────── */
.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem 2rem;
}
.check-list li {
    padding-left: 1.6rem;
    position: relative;
    color: var(--ink);
    font-size: 0.97rem;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--terracotta);
}
.check-list li strong { display: block; font-family: "Cormorant Garamond", serif; font-size: 1.1rem; color: var(--ink); }

/* ── Contact form & info ──────────────────────────────── */
.split {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}
.info-block {
    background: var(--ivory);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
}
.info-block h3 {
    color: var(--ink);
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1rem;
    margin-bottom: 0.75rem;
}
.info-block dl { margin: 0; }
.info-block dt {
    font-family: "Inter", sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 1.2rem;
}
.info-block dt:first-of-type { margin-top: 0; }
.info-block dd { margin: 0.3rem 0 0; font-family: "Cormorant Garamond", serif; font-size: 1.2rem; color: var(--ink); font-weight: 500; }

form .field { margin-bottom: 1.1rem; }
form label {
    display: block;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
    margin-bottom: 0.5rem;
}
form input, form textarea, form select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    background: var(--ivory);
    color: var(--ink);
    transition: border-color 0.15s, box-shadow 0.15s;
}
form input:focus, form textarea:focus, form select:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(184, 106, 75, 0.12);
}
form textarea { resize: vertical; min-height: 130px; }
form button {
    background: var(--terracotta);
    color: var(--ivory);
    border: 0;
    padding: 0.95rem 2rem;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s;
}
form button:hover { background: var(--terracotta-deep); }

/* ── CTA strip ────────────────────────────────────────── */
.cta-strip {
    background: var(--sage-deep);
    color: var(--ivory);
    padding: 4.5rem 1.75rem;
    text-align: center;
}
.cta-strip h2 { color: var(--ivory); margin-bottom: 1rem; font-style: italic; }
.cta-strip p { color: rgba(253, 251, 246, 0.85); max-width: 48ch; margin: 0 auto 2rem; }
.cta-strip .btn { background: var(--terracotta); color: var(--ivory) !important; }
.cta-strip .btn:hover { background: var(--terracotta-deep); }

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
    background: var(--ink);
    color: rgba(253, 251, 246, 0.78);
    padding: 4rem 1.75rem 2rem;
    font-size: 0.92rem;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 3rem;
}
.site-footer .brand-foot {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    color: var(--ivory);
    margin-bottom: 1rem;
    font-weight: 500;
}
.site-footer h4 {
    font-family: "Inter", sans-serif;
    color: var(--ivory);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin: 0 0 1rem;
    font-weight: 600;
}
.site-footer a { color: rgba(253, 251, 246, 0.78); border: 0; padding: 0; }
.site-footer a:hover { color: var(--ivory); border: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-bottom {
    max-width: var(--max-w);
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(253, 251, 246, 0.12);
    font-size: 0.82rem;
    opacity: 0.6;
    text-align: center;
}

/* ── Cheza-style full-bleed photo hero ───────────────── */
.hero-full {
    position: relative;
    min-height: 78vh;
    color: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem;
    overflow: hidden;
}
.hero-full::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44,40,32,0.55) 0%, rgba(44,40,32,0.72) 100%);
    z-index: 1;
}
.hero-full .hero-slideshow {
    position: absolute !important;
    inset: 0;
    z-index: 0;
    aspect-ratio: auto !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
}
.hero-full .hero-slideshow .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
    transform: none;
}
.hero-full .hero-slideshow .slide.active { opacity: 1; z-index: 0; }
.hero-full .hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}
.hero-full .hero-eyebrow {
    color: rgba(253, 251, 246, 0.85);
    margin-bottom: 1.5rem;
}
.hero-full h1 {
    color: var(--ivory);
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.05;
    margin: 0 auto 1.5rem;
    text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero-full h1 em { color: #F2C4A4; display: block; }
.hero-full p {
    color: rgba(253, 251, 246, 0.92);
    font-size: 1.15rem;
    max-width: 50ch;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}
.hero-full .btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-full .btn-ghost {
    background: transparent;
    color: var(--ivory) !important;
    border: 1.5px solid rgba(253, 251, 246, 0.6);
}
.hero-full .btn-ghost:hover { background: rgba(253, 251, 246, 0.1); border-color: var(--ivory); }

/* ── Photo split (two photos side by side) ───────────── */
.photo-split {
    background: var(--cream);
    padding: 5rem 1.75rem;
}
.photo-split-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.photo-split .photo {
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ── Dark photo-backdrop section ─────────────────────── */
.section-dark {
    position: relative;
    color: var(--ivory);
    padding: 6rem 1.75rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}
.section-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44, 40, 32, 0.78), rgba(44, 40, 32, 0.88));
    z-index: 0;
}
.section-dark > .section-inner { position: relative; z-index: 1; text-align: center; }
.section-dark h2 { color: var(--ivory); margin-bottom: 1rem; }
.section-dark h2 em { color: #F2C4A4; }
.section-dark p { color: rgba(253, 251, 246, 0.85); }
.section-dark .eyebrow {
    color: #F2C4A4;
    justify-content: center;
}
.section-dark .eyebrow::before { background: #F2C4A4; }
.section-dark .section-lead { margin: 0 auto 2.5rem; max-width: 56ch; }

/* ── 3-column / 2-column dark grids ───────────────────── */
.three-col, .two-col {
    display: grid;
    gap: 3rem;
    text-align: left;
    margin-top: 3rem;
}
.three-col { grid-template-columns: repeat(3, 1fr); }
.two-col { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
.section-dark .col h3 {
    font-family: "Cormorant Garamond", serif;
    color: var(--ivory);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(253, 251, 246, 0.2);
}
.section-dark .col p {
    font-size: 0.97rem;
    line-height: 1.7;
    margin: 0;
}

/* ── Slideshow ────────────────────────────────────────── */
.gallery-section { background: var(--cream); padding-bottom: 5rem; }
.slideshow {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--ink);
    box-shadow: var(--shadow-md);
    margin-top: 2.5rem;
}
.slideshow-track { position: absolute; inset: 0; }
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.02);
}
.slide.active { opacity: 1; z-index: 1; }

.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(253, 251, 246, 0.92);
    color: var(--ink);
    border: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 400;
    font-family: "Cormorant Garamond", serif;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background 0.2s, transform 0.2s;
}
.slideshow-btn:hover { background: var(--ivory); transform: translateY(-50%) scale(1.05); }
.slideshow-btn.prev { left: 18px; }
.slideshow-btn.next { right: 18px; }

.slideshow-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
    background: rgba(44, 40, 32, 0.45);
    padding: 8px 12px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}
.slideshow-dots button {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(253, 251, 246, 0.5);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.slideshow-dots button:hover { background: rgba(253, 251, 246, 0.85); }
.slideshow-dots button.active {
    background: var(--ivory);
    transform: scale(1.4);
}

/* ── Decorative divider ───────────────────────────────── */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3.5rem auto;
    max-width: 200px;
    color: var(--terracotta);
}
.divider::before, .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--rule);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 880px) {
    .hero-inner, .split, .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero { padding: 3.5rem 1.5rem 3rem; }
    section { padding: 3.5rem 1.5rem; }
    .nav-links { gap: 1.25rem; font-size: 0.9rem; }
    .slideshow { aspect-ratio: 4 / 3; }
    .three-col, .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
    .photo-split-inner { grid-template-columns: 1fr; }
    .photo-split .photo { aspect-ratio: 4 / 3; }
    .hero-full { min-height: 70vh; padding: 4rem 1.25rem; }
    .section-dark { padding: 4rem 1.5rem; }
}
@media (max-width: 520px) {
    body { font-size: 16px; }
    .nav-links { width: 100%; justify-content: space-between; gap: 0.5rem; }
    .nav-cta { padding: 0.45rem 0.9rem; font-size: 0.82rem; }
    .slideshow-btn { width: 40px; height: 40px; }
}
