/* ==========================================================
   Knowlettwoods – Inner page styles (banner, forms, panels)
   ========================================================== */

/* ================= Page Banner ================= */
.page-banner { position: relative; overflow: hidden; background: linear-gradient(100deg, #fff 0%, #f1f5fc 55%, #e6eef9 100%); text-align: center; }
.page-banner::before { content: ""; position: absolute; left: -6%; bottom: -70px; width: 34%; height: 190px; background: var(--navy-dark); border-top: 12px solid var(--yellow); border-radius: 0 100% 0 0 / 0 100% 0 0; z-index: 1; }
.page-banner-media { position: absolute; top: 0; right: 0; bottom: 0; width: 26%; background-size: cover; background-position: center; }
.page-banner-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #edf2fa 0%, rgba(237, 242, 250, 0) 45%); }
.page-banner-media::after { content: ""; position: absolute; right: 0; bottom: 0; width: 100%; height: 42%; background: var(--swoosh) no-repeat right bottom / 100% 100%; pointer-events: none; }
.page-banner-content { position: relative; z-index: 2; padding-top: 36px; padding-bottom: 48px; }
.page-banner .accent-bar { margin: 0 auto 18px; }
.page-banner h1 { font-size: 42px; font-weight: 800; letter-spacing: -1px; }
.page-banner p { max-width: 680px; margin: 14px auto 0; font-size: 21px; color: var(--text); }

/* ================= Panels & Forms ================= */
.panel { position: relative; overflow: hidden; background: #fff; border: 1px solid #e8edf5; border-radius: 22px; box-shadow: var(--card-shadow); padding: 34px 40px 40px; }
.panel-title { font-size: 26px; font-weight: 800; padding-bottom: 18px; margin-bottom: 20px; position: relative; letter-spacing: -.4px; }
.panel-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 86px; height: 5px; border-radius: 4px; background: var(--yellow); }
.panel-intro { font-size: 18px; margin-bottom: 18px; }

.feedback-section { padding-top: 36px; padding-bottom: 20px; }
.feedback-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: stretch; }

.kw-form { display: grid; gap: 14px; }
.field { position: relative; }
.field > svg { position: absolute; left: 18px; top: 13px; width: 22px; height: 22px; color: var(--navy); pointer-events: none; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: #fff; border: 1.5px solid #cfd8e6; border-radius: 10px; padding: 12px 18px 12px 62px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 106px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #44506a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(246, 184, 12, .18); }
.has-error input, .has-error textarea { border-color: #d93636; }
.field-error { display: block; color: #d93636; font-size: 14px; margin-top: 5px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.type-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.type-label { display: flex; align-items: center; gap: 16px; border: 1.5px solid #cfd8e6; border-radius: 10px; padding: 11px 26px 11px 18px; font-size: 16px; color: #44506a; }
.type-label svg { width: 22px; height: 22px; color: var(--navy); }
.type-options { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.radio { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; cursor: pointer; }
.radio input { position: absolute; opacity: 0; }
.radio span { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #8a96ab; display: grid; place-items: center; transition: .2s; }
.radio span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); transform: scale(0); transition: .2s; }
.radio input:checked + span { border-color: var(--yellow); background: #fff7dc; }
.radio input:checked + span::after { transform: scale(1); }
.radio input:focus-visible + span { box-shadow: 0 0 0 4px rgba(246, 184, 12, .3); }
.type-row .field-error { width: 100%; margin-top: -6px; }

.form-submit { display: flex; justify-content: center; margin-top: 6px; }
.form-submit .btn { min-width: 60%; }

.alert { border-radius: 10px; padding: 14px 18px; font-size: 16px; margin-bottom: 16px; font-weight: 500; }
.alert-success { background: #e8f7ee; color: #146c3a; border: 1px solid #b6e4c8; }
.alert-error { background: #fdecec; color: #a12424; border: 1px solid #f3c2c2; }

.support-list { list-style: none; margin: 0; padding: 0 0 50px; }
.support-list li { display: flex; gap: 26px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.support-list li:last-child { border-bottom: 0; }
.support-icon { width: 64px; height: 64px; flex-shrink: 0; display: grid; place-items: center; background: #fdf4e0; border-radius: 12px; }
.support-icon svg { width: 38px; height: 38px; }
.support-list strong { display: block; font-family: var(--font-head); font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 0px; }
.support-list a, .support-list p { font-size: 17px; color: var(--text); word-break: break-word; }
.support-list a:hover { color: var(--yellow-dark); }

.process-section { padding-top: 30px; }
.process-panel { padding: 30px 40px 40px; }
.process-panel .section-head { margin-bottom: 30px; }
.process-panel .section-head::after { display: none; }
.process-steps { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.process-step { flex: 1; text-align: center; }
.step-icon { position: relative; width: 100px; height: 100px; margin: 0 auto 18px; border-radius: 50%; background: #fdf1d6; display: grid; place-items: center; }
.step-icon svg { width: 58px; height: 58px; }
.step-num { position: absolute; top: -6px; right: -6px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; border: 3px solid #fff; font-size: 16px; }
.process-step h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.process-step p { font-size: 17px; max-width: 330px; margin: 0 auto; }
.step-arrow { width: 34px; height: 34px; color: var(--yellow); margin-top: 34px; flex-shrink: 0; }

@media (max-width: 1100px) {
    .feedback-grid { grid-template-columns: 1fr; }
    .page-banner-media { width: 30%; opacity: .6; }
}

@media (max-width: 767px) {
    .page-banner::before { width: 60%; height: 100px; bottom: -60px; border-top-width: 8px; }
    .page-banner-media { display: none; }
    .page-banner-content { padding-top: 30px; padding-bottom: 54px; }
    .page-banner p { font-size: 16px; }
    .panel, .process-panel { padding: 24px 18px 28px; border-radius: 18px; }
    .field input, .field textarea { padding-left: 52px; }
    .field > svg { left: 15px; }
    .type-row { gap: 12px; }
    .type-label { width: 100%; }
    .type-options { gap: 12px 22px; }
    .form-submit .btn { width: 100%; }
    .support-list li { gap: 16px; }
    .support-icon { width: 54px; height: 54px; }
    .support-icon svg { width: 32px; height: 32px; }
    .support-list strong { font-size: 17px; }
    .support-list a, .support-list p { font-size: 15px; }
    .process-steps { flex-direction: column; align-items: center; gap: 24px; }
    .step-arrow { transform: rotate(90deg); margin: 0; }
    .process-step h3 { font-size: 19px; }
    .process-step p { font-size: 16px; }
}

/* ================= About ================= */
.overview-section { padding-top: 50px; }
.overview-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.overview-media { border-radius: 26px; overflow: hidden; box-shadow: 0 18px 40px rgba(15, 42, 95, .15); }
.overview-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 692 / 440; }
.overview-content h2 { font-size: 42px; font-weight: 800; margin-bottom: 18px; letter-spacing: -.5px; }
.overview-content > p { font-size: 18px; margin-bottom: 14px; }
.overview-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 26px; }
.overview-stat { text-align: center; padding: 0 12px; border-left: 1px solid var(--line); }
.overview-stat:first-child { border-left: 0; }
.o-icon { width: 76px; height: 70px; margin: 0 auto 12px; display: grid; place-items: center; background: var(--bg-soft); border-radius: 14px; color: var(--navy); }
.o-icon svg { width: 50px; height: 50px; }
.overview-stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.overview-stat p { font-size: 15px; color: var(--muted); }

.band-soft { background: var(--bg-soft); }
.purpose-grid, .audience-grid { display: grid; gap: 28px; }
.purpose-grid { grid-template-columns: 1fr 1fr; }
.audience-grid { grid-template-columns: repeat(3, 1fr); }
.purpose-card, .guide-card, .process-panel.swoosh-panel { position: relative; overflow: hidden; background: #fff; border: 1px solid #eef1f7; border-radius: var(--radius); box-shadow: var(--card-shadow); }
.purpose-card::after, .guide-card::after { content: ""; position: absolute; right: 0; bottom: 0; width: 240px; height: 96px; max-width: 62%; background: var(--swoosh) no-repeat right bottom / 100% 100%; pointer-events: none; }
.guide-card::after { width: 168px; height: 42px; }
.purpose-card { padding: 32px 34px 36px; }
.purpose-card .icon-box { margin-bottom: 18px; }
.purpose-card h3, .guide-card h3 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.purpose-card p, .guide-card p { font-size: 18px; color: var(--text); }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.guide-card { padding: 28px 22px 34px; text-align: left; }
.guide-card .o-icon { margin: 0 0 16px; }
.guide-card p { font-size: 16px; }

/* ================= Contact ================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.field-select select { width: 100%; font: inherit; font-size: 16px; color: #44506a; background: #fff; border: 1.5px solid #cfd8e6; border-radius: 10px; padding: 12px 48px 12px 62px; appearance: none; cursor: pointer; }
.field-select select:valid { color: var(--text); }
.field-select select:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(246, 184, 12, .18); }
.field .select-chev { left: auto; right: 18px; top: 14px; width: 20px; height: 20px; }
.contact-list { padding-bottom: 10px; }
.contact-list li { padding: 12px 0; }
.map-box { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); height: 230px; }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-link { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 10px 16px; font-weight: 600; font-size: 15px; color: var(--navy); box-shadow: 0 6px 18px rgba(15, 42, 95, .18); }
.map-link svg { width: 18px; height: 18px; }
.map-link:hover { color: var(--yellow-dark); }

.respond-wrap { padding: 10px 0 30px; }
.respond-bar { position: relative; display: flex; align-items: center; justify-content: center; gap: 26px; background: var(--navy-dark); color: #fff; border-radius: 40px; padding: 14px 24px; font-family: var(--font-head); font-weight: 700; font-size: 22px; text-align: center; }
.respond-bar::before, .respond-bar::after { content: ""; flex: 1; max-width: 340px; height: 1px; background: rgba(255, 255, 255, .5); }
.respond-icon { width: 40px; height: 40px; flex-shrink: 0; padding-right: 22px; border-right: 1px solid rgba(255, 255, 255, .5); box-sizing: content-box; }

@media (max-width: 1100px) {
    .overview-grid, .contact-grid, .purpose-grid { grid-template-columns: 1fr; }
    .audience-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
    .overview-media { max-width: 720px; }
    .page-banner h1 { font-size: 34px; }
    .overview-content h2 { font-size: 34px; }
    .panel-title { font-size: 24px; }
    .guide-card h3, .purpose-card h3 { font-size: 22px; }
    .overview-stats { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
    .overview-stat:nth-child(odd) { border-left: 0; }
    .respond-bar { font-size: 18px; }
    .process-step h3 { font-size: 20px; }
    .process-step p { font-size: 16px; }
}

@media (max-width: 767px) {
    .page-banner h1 { font-size: 30px; letter-spacing: -.4px; }
    .overview-content h2 { font-size: 28px; }
    .panel-title { font-size: 22px; }
    .guide-card h3, .purpose-card h3 { font-size: 20px; }
    .overview-stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
    .overview-stat:nth-child(3) { border-left: 0; }
    .overview-stat strong { font-size: 16px; }
    .overview-content > p { font-size: 16px; }
    .audience-grid, .guide-grid, .purpose-grid { grid-template-columns: 1fr; }
    .purpose-card p, .guide-card p { font-size: 16px; }
    .field-select select { padding-left: 52px; }
    .map-box { height: 200px; }
    .respond-bar { font-size: 17px; border-radius: 22px; gap: 14px; }
    .respond-bar::before, .respond-bar::after { display: none; }
    .respond-icon { width: 30px; height: 30px; padding-right: 14px; }
}
