/* ==========================================================
   Credit Wise Saving — site styles
   Layout grid, navbar and accordion come from Bootstrap 5;
   everything visual below is custom.
   ========================================================== */

@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/Lora-Variable.woff") format("woff"); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #12261f;
  --forest: #1d4d3f;
  --forest-2: #2a6b57;
  --forest-3: #4f8c78;
  --mint: #e3eee8;
  --cream: #f6f1e7;
  --sand: #ebe2d0;
  --sand-2: #dfd2b8;
  --brass: #c8963e;
  --brass-2: #e2b866;
  --brass-dark: #8a6420;
  --text: #2b3a35;
  --muted: #5b6b65;
  --white: #ffffff;
  --danger: #b3412b;
  --success: #1f6b4c;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(18, 38, 31, .35);
  --shadow-sm: 0 8px 24px -16px rgba(18, 38, 31, .4);
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Lora", Georgia, "Times New Roman", serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { color: var(--muted); }
a { color: var(--forest-2); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1100; background: var(--forest); color: var(--white); padding: .5rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; color: var(--white); }

/* ---------- Buttons ---------- */
.btn-cws, .btn-cws-outline, .btn-cws-light {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 500; font-size: .98rem; border-radius: 999px; padding: .8rem 1.6rem;
  text-decoration: none; border: 2px solid transparent; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  cursor: pointer; line-height: 1.2;
}
.btn-cws { background: var(--forest); color: var(--white); }
.btn-cws:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-cws-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-cws-outline:hover { background: var(--forest); color: var(--white); }
.btn-cws-light { background: var(--brass-2); color: var(--ink); }
.btn-cws-light:hover { background: var(--white); color: var(--ink); transform: translateY(-2px); }
.btn-cws-sm { padding: .6rem 1.2rem; font-size: .9rem; }
.btn-cws[disabled] { opacity: .65; pointer-events: none; }
.arrow::after { content: "→"; transition: transform .2s ease; }
.btn-cws:hover .arrow::after, a:hover > .arrow::after { transform: translateX(3px); }

/* ---------- Header / navbar ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px -18px rgba(18, 38, 31, .6); }
.topbar { background: var(--forest); color: var(--cream); font-size: .85rem; }
.topbar a { color: var(--cream); text-decoration: none; }
.topbar a:hover { color: var(--brass-2); }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1.5rem; padding-top: .45rem; padding-bottom: .45rem; }
.topbar span { display: inline-flex; align-items: center; gap: .4rem; }
.navbar { padding-top: .8rem; padding-bottom: .8rem; }
.navbar-brand img { height: 42px; width: auto; display: block; }
.navbar .nav-link { color: var(--ink); font-weight: 500; padding: .5rem .9rem !important; border-radius: 999px; }
.navbar .nav-link:hover { color: var(--forest-2); background: var(--cream); }
.navbar .nav-link.active { color: var(--forest); background: var(--mint); }
.navbar-toggler { border: 2px solid var(--forest); border-radius: 10px; padding: .4rem .55rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(200, 150, 62, .45); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231d4d3f' stroke-linecap='round' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0 .5rem; }
  .navbar .nav-link { padding: .65rem 1rem !important; }
  .navbar .btn-cws { width: 100%; margin-top: .5rem; }
}
@media (max-width: 575.98px) {
  .navbar-brand img { height: 34px; }
  .topbar .hide-xs { display: none !important; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-forest { background: var(--forest); }
.bg-forest h2, .bg-forest h3, .bg-forest h4 { color: var(--white); }
.bg-forest p { color: rgba(246, 241, 231, .82); }
@media (max-width: 767.98px) { .section { padding: 64px 0; } .section-sm { padding: 48px 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-dark); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brass); }
.bg-forest .eyebrow { color: var(--brass-2); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--brass); }
.lead-text { font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid var(--sand-2); right: -180px; top: -220px; }
.hero h1 em { font-style: italic; color: var(--forest-2); }
.hero p.lead-text { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.2rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; color: var(--text); }
.check-list li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231d4d3f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e") center/14px no-repeat; }
.check-list.inline { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.hero-art { position: relative; }
.hero-art img { width: 100%; max-width: 560px; display: block; margin-left: auto; }

.page-hero { background: var(--forest); padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; background: rgba(226, 184, 102, .14); }
.page-hero h1 { color: var(--white); max-width: 820px; position: relative; z-index: 1; }
.page-hero p { color: rgba(246, 241, 231, .85); max-width: 640px; font-size: 1.08rem; margin: 1rem 0 0; position: relative; z-index: 1; }
.crumbs { list-style: none; padding: 0; margin: 0 0 1.1rem; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; position: relative; z-index: 1; }
.crumbs li { color: var(--brass-2); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: rgba(246, 241, 231, .5); }
.crumbs a { color: rgba(246, 241, 231, .85); text-decoration: none; }
.crumbs a:hover { color: var(--white); }

/* ---------- Cards ---------- */
.service-card { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .card-img { aspect-ratio: 16 / 11; overflow: hidden; background: var(--sand); }
.service-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .card-img img { transform: scale(1.04); }
.service-card .card-body-cws { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a:hover { color: var(--forest-2); }
.service-card p { flex: 1; margin-bottom: 1.4rem; }
.service-card .card-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.text-link { font-weight: 500; text-decoration: none; display: inline-flex; gap: .35rem; }

.feature { padding: 1.6rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--sand); height: 100%; }
.bg-cream .feature, .bg-sand .feature { border-color: transparent; }
.feature h3 { font-size: 1.15rem; margin: 1rem 0 .5rem; }
.feature p { margin: 0; font-size: .96rem; }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--forest); }
.icon-badge svg { width: 26px; height: 26px; }
.bg-forest .feature { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.bg-forest .feature p { color: rgba(246, 241, 231, .78); }
.bg-forest .icon-badge { background: rgba(226, 184, 102, .18); color: var(--brass-2); }

.step { position: relative; padding: 1.8rem 1.6rem; background: var(--white); border-radius: var(--radius); height: 100%; }
.step-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--brass); display: block; margin-bottom: .8rem; }
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; font-size: .95rem; }

.split-img { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; display: block; }

/* ---------- Calculator ---------- */
.calc-wrap { background: var(--white); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.calc-inputs { padding: 2.4rem; }
.calc-result { background: var(--forest); color: var(--cream); padding: 2.4rem; height: 100%; display: flex; flex-direction: column; }
.calc-field { margin-bottom: 1.5rem; }
.calc-field-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .5rem; }
.calc-field label { font-weight: 500; color: var(--ink); margin: 0; }
.input-affix { display: flex; align-items: center; border: 1.5px solid var(--sand-2); border-radius: 10px; background: var(--cream); padding: 0 .6rem; width: 150px; }
.input-affix span { color: var(--muted); font-size: .9rem; }
.input-affix input { border: 0; background: transparent; width: 100%; padding: .45rem .3rem; font-weight: 600; color: var(--ink); text-align: right; min-width: 0; }
.input-affix input:focus { outline: none; }
.input-affix:focus-within { border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(42, 107, 87, .15); }
.input-affix.is-invalid { border-color: var(--danger); }
input[type="range"] { width: 100%; accent-color: var(--forest); height: 6px; cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.calc-select { width: 100%; }
.calc-result .label { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brass-2); }
.calc-result .big { font-family: var(--font-display); font-size: clamp(2.3rem, 5vw, 3.2rem); color: var(--white); line-height: 1.1; margin: .3rem 0 1.5rem; word-break: break-word; }
.calc-rows { display: grid; gap: .8rem; margin-bottom: 1.6rem; }
.calc-rows div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(246, 241, 231, .16); }
.calc-rows span { color: rgba(246, 241, 231, .75); }
.calc-rows strong { color: var(--white); font-weight: 600; text-align: right; }
.split-bar { height: 12px; border-radius: 99px; background: var(--brass-2); overflow: hidden; display: flex; }
.split-bar i { display: block; background: var(--forest-3); height: 100%; transition: width .35s ease; }
.split-legend { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .85rem; margin: .7rem 0 1.6rem; color: rgba(246, 241, 231, .8); }
.split-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .4rem; background: var(--forest-3); }
.split-legend span + span::before { background: var(--brass-2); }
.calc-note { font-size: .82rem; color: rgba(246, 241, 231, .65); margin: auto 0 0; padding-top: 1rem; }
.calc-error { color: var(--danger); font-size: .85rem; margin-top: .35rem; min-height: 0; }
@media (max-width: 575.98px) { .calc-inputs, .calc-result { padding: 1.6rem; } .input-affix { width: 130px; } }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--white); border-radius: var(--radius); padding: 2rem; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--sand); position: relative; }
.testimonial::before { content: "\201C"; font-family: var(--font-display); font-size: 4.5rem; line-height: .8; color: var(--brass-2); display: block; height: 2.2rem; }
.testimonial blockquote { margin: 0 0 1.5rem; flex: 1; color: var(--text); font-size: 1rem; }
.testimonial .name { font-weight: 600; color: var(--forest); font-size: 1rem; margin: 0; border-top: 1px solid var(--sand); padding-top: 1rem; }

/* ---------- Accordion (Bootstrap) ---------- */
.accordion { --bs-accordion-border-color: var(--sand); --bs-accordion-border-radius: 14px; --bs-accordion-inner-border-radius: 14px; --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(200, 150, 62, .35); --bs-accordion-active-bg: var(--cream); --bs-accordion-active-color: var(--forest); --bs-accordion-btn-padding-y: 1.15rem; }
.accordion-item { margin-bottom: .75rem; border: 1px solid var(--sand) !important; border-radius: 14px !important; overflow: hidden; }
.accordion-button { font-weight: 500; color: var(--ink); font-size: 1.02rem; }
.accordion-button:not(.collapsed) { box-shadow: none; }
.accordion-body { color: var(--muted); }

/* ---------- Blog ---------- */
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--sand); height: 100%; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card .card-img { aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.post-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.25rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--forest-2); }
.post-card p { flex: 1; }

.article { font-size: 1.06rem; }
.article p { color: var(--text); margin-bottom: 1.35rem; }
.article h2 { font-size: 1.6rem; margin: 2.4rem 0 1rem; }
.article .feature-img { border-radius: 22px; overflow: hidden; margin-bottom: 2.4rem; box-shadow: var(--shadow); }
.article .feature-img img { width: 100%; display: block; }
.article blockquote { border-left: 4px solid var(--brass); background: var(--cream); padding: 1.2rem 1.4rem; border-radius: 0 12px 12px 0; margin: 2rem 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.sidebar-box { background: var(--cream); border-radius: var(--radius); padding: 1.8rem; margin-bottom: 1.5rem; }
.sidebar-box h3 { font-size: 1.2rem; }
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li + li { border-top: 1px solid var(--sand-2); }
.sidebar-links a { display: block; padding: .7rem 0; text-decoration: none; color: var(--ink); font-weight: 500; }
.sidebar-links a:hover { color: var(--forest-2); }
@media (min-width: 992px) { .sticky-side { position: sticky; top: 110px; } }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: 24px; padding: 2.4rem; box-shadow: var(--shadow); }
@media (max-width: 575.98px) { .form-card { padding: 1.5rem; } }
.field { margin-bottom: 1.25rem; }
.field label, .field .label { display: block; font-weight: 500; color: var(--ink); margin-bottom: .4rem; font-size: .95rem; }
.field .req { color: var(--danger); }
.cws-input, .cws-select, .cws-textarea {
  width: 100%; border: 1.5px solid var(--sand-2); background: var(--cream); border-radius: 12px;
  padding: .8rem 1rem; font: inherit; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.cws-textarea { min-height: 140px; resize: vertical; }
.cws-select { appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231d4d3f' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 14px; padding-right: 2.5rem; }
.cws-input:focus, .cws-select:focus, .cws-textarea:focus { outline: none; border-color: var(--forest-2); background: var(--white); box-shadow: 0 0 0 3px rgba(42, 107, 87, .15); }
.is-invalid.cws-input, .is-invalid.cws-select, .is-invalid.cws-textarea { border-color: var(--danger); background: #fdf5f3; }
.field-error { display: none; color: var(--danger); font-size: .85rem; margin-top: .35rem; }
.field.has-error .field-error { display: block; }
.check-field { display: flex; gap: .7rem; align-items: flex-start; }
.check-field input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--forest); flex: 0 0 20px; }
.check-field label { font-weight: 400; color: var(--text); margin: 0; font-size: .93rem; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .6rem 1rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.form-alert { display: none; border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-size: .95rem; border: 1px solid transparent; }
.form-alert.show { display: block; }
.form-alert.success { background: #e6f2ec; color: var(--success); border-color: #bfdccc; }
.form-alert.error { background: #fbebe7; color: var(--danger); border-color: #efc5ba; }
.form-alert strong { display: block; margin-bottom: .15rem; }
.char-count { font-size: .8rem; color: var(--muted); text-align: right; margin-top: .25rem; }

.info-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--radius); background: var(--cream); margin-bottom: 1rem; }
.info-card h3 { font-size: 1.05rem; margin: 0 0 .25rem; font-family: var(--font-body); font-weight: 600; }
.info-card p, .info-card a { margin: 0; color: var(--text); word-break: break-word; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest); border-radius: 28px; padding: 3.2rem; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(226, 184, 102, .14); right: -80px; top: -120px; }
.cta-band h2 { color: var(--white); position: relative; }
.cta-band p { color: rgba(246, 241, 231, .82); position: relative; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .8rem; position: relative; }
@media (max-width: 575.98px) { .cta-band { padding: 2rem 1.5rem; } }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.45rem; margin: 2.2rem 0 .8rem; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.2rem; margin-bottom: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.toc { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: .6rem; padding: .45rem 0; text-decoration: none; color: var(--ink); font-size: .93rem; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--brass-dark); font-weight: 600; }
.toc a:hover { color: var(--forest-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(246, 241, 231, .78); padding-top: 72px; font-size: .95rem; }
.site-footer h2 { font-family: var(--font-body); color: var(--white); font-size: 1.05rem; font-weight: 600; margin-bottom: 1.2rem; letter-spacing: .02em; }
.site-footer p { color: rgba(246, 241, 231, .72); }
.footer-logo img { height: 38px; width: auto; margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(246, 241, 231, .78); text-decoration: none; }
.footer-links a:hover { color: var(--brass-2); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; align-items: flex-start; }
.footer-contact svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 4px; color: var(--brass-2); }
.footer-contact a { color: rgba(246, 241, 231, .85); text-decoration: none; word-break: break-word; }
.footer-contact a:hover { color: var(--brass-2); }
.footer-news .cws-input { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); color: var(--white); }
.footer-news .cws-input::placeholder { color: rgba(246, 241, 231, .55); }
.footer-news .cws-input:focus { background: rgba(255, 255, 255, .12); border-color: var(--brass-2); box-shadow: 0 0 0 3px rgba(226, 184, 102, .2); }
.footer-news .is-invalid.cws-input { border-color: #f0907a; background: rgba(240, 144, 122, .08); }
.footer-news .field-error { color: #f6b3a3; }
.footer-news .check-field label { color: rgba(246, 241, 231, .75); font-size: .85rem; }
.footer-news .check-field label a { color: var(--brass-2); }
.footer-news .form-alert.success { background: rgba(79, 140, 120, .2); color: #cfe9dc; border-color: rgba(79, 140, 120, .45); }
.footer-news .form-alert.error { background: rgba(240, 144, 122, .12); color: #f6b3a3; border-color: rgba(240, 144, 122, .35); }
.footer-news .form-actions { margin-top: .9rem; }
.footer-news .btn-cws-light, .footer-news .btn-cws-outline { padding: .65rem 1.2rem; font-size: .9rem; }
.footer-news .btn-cws-outline { color: var(--cream); border-color: rgba(246, 241, 231, .4); }
.footer-news .btn-cws-outline:hover { background: rgba(246, 241, 231, .1); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(246, 241, 231, .12); margin-top: 56px; padding: 1.4rem 0; font-size: .88rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; }
.footer-bottom p { margin: 0; color: rgba(246, 241, 231, .65); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer-bottom a { color: rgba(246, 241, 231, .75); text-decoration: none; }
.footer-bottom a:hover { color: var(--brass-2); }

.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brass); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease; z-index: 1040; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brass-2); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } * { transition: none !important; } }
.step.bg-cream { background: var(--cream); }

/* ---------- Photography ---------- */
.service-card .card-img img, .post-card .card-img img { background: var(--sand); }
.split-img { aspect-ratio: 16 / 11; background: var(--sand); }
.split-img img { height: 100%; object-fit: cover; }
.article .feature-img { aspect-ratio: 16 / 10; background: var(--sand); }
.article .feature-img img { height: 100%; object-fit: cover; }
.hero-art { padding: 0 0 28px 28px; }
.hero-art::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: 28px; background: var(--sand); }
.hero-art img { position: relative; max-width: none; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); background: var(--sand); }
.hero-chip { position: absolute; left: 0; bottom: 56px; display: flex; gap: .75rem; align-items: center; background: var(--white); border-radius: 16px; padding: .85rem 1.1rem; box-shadow: var(--shadow); max-width: 260px; }
.hero-chip svg { width: 28px; height: 28px; flex: 0 0 28px; color: var(--forest-2); }
.hero-chip span { font-size: .85rem; color: var(--muted); line-height: 1.35; }
.hero-chip strong { display: block; color: var(--ink); font-size: .95rem; }
@media (max-width: 575.98px) { .hero-art { padding: 0 0 20px 16px; } .hero-chip { bottom: 36px; padding: .7rem .9rem; } }
