/* Quality Home Space: jacaranda violet, California poppy and sage on warm stucco */

@font-face { font-family: "Rufina"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/rufina-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Rufina"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/rufina-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/host-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/host-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/host-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/host-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  --qs-violet: #6a4c93;
  --qs-violet-deep: #4b3270;
  --qs-violet-soft: #efe8f6;
  --qs-lilac: #b9a3d6;
  --qs-poppy: #e8692c;
  --qs-poppy-dark: #c4521b;
  --qs-poppy-soft: #fde6d9;
  --qs-sage: #a9b79a;
  --qs-sage-deep: #5f7255;
  --qs-sage-soft: #e8eddf;
  --qs-stucco: #faf6ef;
  --qs-sand: #f2eadc;
  --qs-ink: #241a33;
  --qs-ink-deep: #180f24;
  --qs-text: #3b3446;
  --qs-muted: #6c6478;
  --qs-line: #e4dccd;
  --qs-radius: 20px;
  --qs-shadow: 0 22px 44px -26px rgba(36, 26, 51, .5);
  --qs-shadow-sm: 0 10px 24px -16px rgba(36, 26, 51, .45);
}

html { scroll-behavior: smooth; }
body {
  font-family: "Host Grotesk", system-ui, sans-serif;
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--qs-text);
  background: var(--qs-stucco);
}
h1, h2, h3, h4, h5 {
  font-family: "Rufina", Georgia, serif;
  font-weight: 700;
  color: var(--qs-ink);
  line-height: 1.18;
}
a { color: var(--qs-violet); }
a:hover { color: var(--qs-poppy-dark); }
img { max-width: 100%; height: auto; }
::selection { background: var(--qs-lilac); color: var(--qs-ink); }

.section { padding: 100px 0; position: relative; }
.section-sm { padding: 70px 0; }
.bg-sand { background: var(--qs-sand); }
.bg-sage { background: var(--qs-sage-soft); }
.bg-violet-soft { background: var(--qs-violet-soft); }
.bg-ink { background: var(--qs-ink); color: #d8d1e3; }
.bg-ink h2, .bg-ink h3, .petals h2, .petals h3 { color: #fff; }

/* Petal pattern used on dark bands */
.petals {
  background-color: var(--qs-ink);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(185, 163, 214, .16) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 75%, rgba(232, 105, 44, .14) 0 2px, transparent 3px),
    radial-gradient(circle at 85% 20%, rgba(169, 183, 154, .14) 0 2.5px, transparent 3.5px);
  background-size: 140px 140px, 110px 110px, 170px 170px;
}

/* Eyebrow labels */
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--qs-violet); margin-bottom: 1rem;
  padding: .38rem .9rem .38rem .7rem; border-radius: 999px;
  background: var(--qs-violet-soft);
}
.kicker::before { content: ""; width: 9px; height: 9px; background: var(--qs-poppy); transform: rotate(45deg); border-radius: 2px; }
.bg-ink .kicker, .petals .kicker, .page-hero .kicker { background: rgba(255, 255, 255, .08); color: var(--qs-lilac); }
.bg-sage .kicker { background: #fff; }

.section-title { font-size: clamp(1.95rem, 3.5vw, 2.85rem); margin-bottom: 1rem; letter-spacing: -.01em; }
.section-title .hl { color: var(--qs-violet); font-style: normal; background: linear-gradient(transparent 62%, var(--qs-poppy-soft) 62%); padding: 0 .1em; }
.bg-ink .section-title .hl, .petals .section-title .hl { color: var(--qs-lilac); background: linear-gradient(transparent 64%, rgba(232, 105, 44, .35) 64%); }
.lead-soft { font-size: 1.12rem; color: var(--qs-muted); }
.bg-ink .lead-soft, .petals .lead-soft { color: #c6bdd3; }

/* Buttons */
.btn-qs, .btn-qs-line, .btn-qs-poppy {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.55rem; border-radius: 12px;
  font-weight: 600; font-size: .98rem; text-decoration: none; line-height: 1.3;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
  border: 2px solid transparent; cursor: pointer;
}
.btn-qs { background: var(--qs-violet); color: #fff; box-shadow: 0 6px 0 var(--qs-violet-deep); }
.btn-qs:hover { background: var(--qs-violet-deep); color: #fff; transform: translateY(2px); box-shadow: 0 4px 0 var(--qs-ink); }
.btn-qs-poppy { background: var(--qs-poppy); color: #fff; box-shadow: 0 6px 0 var(--qs-poppy-dark); }
.btn-qs-poppy:hover { background: var(--qs-poppy-dark); color: #fff; transform: translateY(2px); box-shadow: 0 4px 0 #8f3a12; }
.btn-qs-line { background: transparent; color: var(--qs-ink); border-color: var(--qs-ink); }
.btn-qs-line:hover { background: var(--qs-ink); color: #fff; }
.petals .btn-qs-line, .bg-ink .btn-qs-line { color: #fff; border-color: rgba(255, 255, 255, .5); }
.petals .btn-qs-line:hover, .bg-ink .btn-qs-line:hover { background: #fff; color: var(--qs-ink); }
.btn-qs i, .btn-qs-line i, .btn-qs-poppy i { transition: transform .25s ease; }
.btn-qs:hover i, .btn-qs-line:hover i, .btn-qs-poppy:hover i { transform: translateX(3px); }

/* Header */
.qs-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.qs-header.scrolled { box-shadow: 0 10px 28px -20px rgba(36, 26, 51, .55); border-color: var(--qs-line); }
.qs-header .navbar { padding: .9rem 0; }
.qs-logo img { height: 44px; width: auto; display: block; }
.qs-header .nav-link {
  font-weight: 600; color: var(--qs-ink); padding: .5rem .95rem !important; position: relative;
}
.qs-header .nav-link::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .2rem; height: 2px;
  background: var(--qs-poppy); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.qs-header .nav-link:hover, .qs-header .nav-link.active { color: var(--qs-violet); }
.qs-header .nav-link:hover::after, .qs-header .nav-link.active::after { transform: scaleX(1); }
.qs-header .navbar-toggler { border: 0; box-shadow: none; font-size: 1.8rem; color: var(--qs-ink); padding: .25rem .5rem; }
@media (max-width: 1199.98px) {
  .qs-header .navbar-collapse { padding: 1rem 0 .6rem; }
  .qs-header .nav-link::after { display: none; }
  .qs-header .btn-qs { margin-top: .6rem; }
}
@media (max-width: 575.98px) { .qs-logo img { height: 34px; } }

/* Home hero */
.qs-hero { color: #e6dff0; padding: 90px 0 120px; position: relative; overflow: hidden; }
.qs-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1.3rem; letter-spacing: -.015em; }
.qs-hero h1 span { color: var(--qs-poppy); }
.qs-hero .lead-soft { color: #cfc6dc; max-width: 560px; }
.hero-points { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-points li {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 600;
  padding: .45rem .95rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); color: #efe9f6;
}
.hero-points i { color: var(--qs-sage); }
.hero-frame { position: relative; padding: 0 0 30px 30px; }
.hero-frame::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 78%; height: 82%;
  border: 2px solid var(--qs-poppy); border-radius: 28px;
}
.hero-frame .img {
  position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7);
  aspect-ratio: 4 / 3.6;
}
.hero-frame .img img { width: 100%; height: 100%; object-fit: cover; }
.seal {
  position: absolute; right: -18px; top: -26px; width: 150px; height: 150px; border-radius: 50%;
  background: var(--qs-poppy); color: #fff; display: grid; place-items: center;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .6);
}
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal svg text { font-family: "Host Grotesk", sans-serif; font-size: 11.2px; font-weight: 700; letter-spacing: .26em; fill: #fff; text-transform: uppercase; }
.seal i { font-size: 2.3rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-note {
  position: absolute; left: 0; bottom: 56px; max-width: 250px;
  background: var(--qs-stucco); color: var(--qs-ink); border-radius: 16px; padding: .9rem 1.1rem;
  display: flex; gap: .75rem; align-items: center; font-weight: 600; font-size: .92rem; line-height: 1.4;
  box-shadow: var(--qs-shadow);
}
.hero-note i { font-size: 1.5rem; color: var(--qs-violet); }
.edge-tiles { position: absolute; left: 0; right: 0; bottom: -1px; height: 36px; line-height: 0; }
.edge-tiles svg { width: 100%; height: 100%; display: block; }
@media (max-width: 991.98px) {
  .qs-hero { padding: 60px 0 100px; }
  .seal { width: 120px; height: 120px; right: 0; }
  .seal svg text { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .seal svg { animation: none; } }

/* Promise strip */
.promise-strip { margin-top: -54px; position: relative; z-index: 2; }
.promise-strip .inner {
  background: #fff; border-radius: var(--qs-radius); box-shadow: var(--qs-shadow); padding: 1.8rem 1.6rem;
}
.promise-item { display: flex; gap: .9rem; align-items: flex-start; }
.promise-item .ico {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--qs-violet-soft); color: var(--qs-violet); font-size: 1.35rem;
}
.promise-item h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.promise-item p { margin: 0; font-size: .93rem; color: var(--qs-muted); line-height: 1.55; }

/* Feature cards */
.value-card {
  background: #fff; border: 1px solid var(--qs-line); border-radius: var(--qs-radius); padding: 2rem 1.7rem;
  height: 100%; position: relative; transition: transform .3s ease, box-shadow .3s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--qs-shadow); }
.value-card .ico {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem;
  background: var(--qs-poppy-soft); color: var(--qs-poppy-dark); margin-bottom: 1.2rem;
  outline: 2px dashed var(--qs-poppy); outline-offset: 4px;
}
.value-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.value-card p { margin: 0; color: var(--qs-muted); }

/* Service cards */
.svc-card {
  background: #fff; border-radius: var(--qs-radius); overflow: hidden; height: 100%;
  display: flex; flex-direction: column; border: 1px solid var(--qs-line);
  transition: transform .35s ease, box-shadow .35s ease;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--qs-shadow); }
.svc-card .svc-media { position: relative; }
.svc-card .svc-img { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.svc-card .svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-card .svc-img::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(transparent, rgba(36, 26, 51, .55));
}
.svc-card .svc-icon {
  position: absolute; left: 1.3rem; bottom: -26px; z-index: 2;
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--qs-violet); color: #fff; font-size: 1.45rem; border: 4px solid #fff;
  transform: rotate(-6deg); transition: transform .35s ease, background .35s ease;
}
.svc-card:hover .svc-icon { transform: rotate(0); background: var(--qs-poppy); }
.svc-card .svc-body { padding: 2.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-size: 1.32rem; margin-bottom: .6rem; }
.svc-card p { color: var(--qs-muted); flex: 1; margin-bottom: 1.3rem; }
.svc-card .btn-qs-line { align-self: flex-start; padding: .65rem 1.2rem; font-size: .93rem; }

/* Split feature */
.split-img { position: relative; }
.split-img .main { border-radius: 26px; overflow: hidden; box-shadow: var(--qs-shadow); }
.split-img .main img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.split-img .tag {
  position: absolute; right: -10px; bottom: -22px; background: var(--qs-sage-deep); color: #fff;
  border-radius: 18px; padding: 1rem 1.25rem; max-width: 240px; font-weight: 600; line-height: 1.4;
  display: flex; gap: .7rem; align-items: center; box-shadow: var(--qs-shadow-sm);
}
.split-img .tag i { font-size: 1.6rem; color: var(--qs-poppy-soft); }
.split-img .stripe {
  position: absolute; left: -18px; top: -18px; width: 44%; height: 44%; z-index: -1; border-radius: 22px;
  background: repeating-linear-gradient(135deg, var(--qs-lilac) 0 2px, transparent 2px 12px);
}
@media (max-width: 575.98px) { .split-img .tag { right: 10px; } }
.tick-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.tick-list li { display: flex; gap: .8rem; margin-bottom: .9rem; }
.tick-list i {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--qs-sage-soft); color: var(--qs-sage-deep); font-size: 1rem; margin-top: .15rem;
}

/* Process path */
.path-step { text-align: center; position: relative; padding: 0 .6rem; }
.path-step .ring {
  width: 92px; height: 92px; margin: 0 auto 1.3rem; border-radius: 50%; display: grid; place-items: center;
  border: 2px dashed rgba(185, 163, 214, .55); position: relative;
}
.path-step .ring span {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  background: var(--qs-violet); color: #fff; font-size: 1.6rem;
}
.path-step:nth-child(even) .ring span { background: var(--qs-poppy); }
.path-step h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.path-step p { color: #c6bdd3; font-size: .97rem; margin: 0; }
@media (min-width: 992px) {
  .path-row { position: relative; }
  .path-row::before {
    content: ""; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(185, 163, 214, .5) 0 10px, transparent 10px 18px);
  }
}

/* Testimonials */
.voice-card {
  background: #fff; border-radius: var(--qs-radius); padding: 2rem 1.8rem; height: 100%;
  border-top: 5px solid var(--qs-violet); box-shadow: var(--qs-shadow-sm); position: relative;
}
.voice-card:nth-child(1) { border-top-color: var(--qs-violet); }
.col-lg-4:nth-child(2) .voice-card { border-top-color: var(--qs-poppy); }
.col-lg-4:nth-child(3) .voice-card { border-top-color: var(--qs-sage-deep); }
.voice-card .qmark { font-family: "Rufina", serif; font-size: 4rem; line-height: .6; color: var(--qs-lilac); display: block; margin-bottom: .6rem; }
.voice-card p { font-size: 1.02rem; }
.voice-who { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.voice-who .av {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: var(--qs-sand); color: var(--qs-violet-deep); font-family: "Rufina", serif; font-size: 1.2rem;
}
.voice-who strong { display: block; color: var(--qs-ink); line-height: 1.2; }
.voice-who span { font-size: .88rem; color: var(--qs-muted); }

/* Blog cards */
.post-card {
  background: #fff; border-radius: var(--qs-radius); overflow: hidden; height: 100%;
  display: flex; flex-direction: column; border: 1px solid var(--qs-line); transition: transform .3s ease, box-shadow .3s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--qs-shadow); }
.post-card .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { padding: 1.6rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post-tag {
  align-self: flex-start; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--qs-sage-deep); background: var(--qs-sage-soft); padding: .3rem .7rem; border-radius: 6px; margin-bottom: .9rem;
}
.post-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.post-card h3 a { color: var(--qs-ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--qs-violet); }
.post-card p { color: var(--qs-muted); flex: 1; }
.read-more { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; color: var(--qs-poppy-dark); }
.read-more:hover { gap: .7rem; color: var(--qs-violet); }
.read-more i { transition: transform .25s ease; }

/* Featured blog (latest blog page) */
.post-feature {
  background: #fff; border-radius: 26px; overflow: hidden; border: 1px solid var(--qs-line); box-shadow: var(--qs-shadow-sm);
}
.post-feature .thumb { display: block; height: 100%; min-height: 300px; }
.post-feature .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-feature .body { padding: 2.6rem 2.4rem; }
.post-feature h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.post-feature h2 a { color: var(--qs-ink); text-decoration: none; }
.post-feature h2 a:hover { color: var(--qs-violet); }

/* Newsletter band */
.letter-band { border-radius: 30px; overflow: hidden; color: #e3dcec; }
.letter-band .img { min-height: 320px; height: 100%; background-size: cover; background-position: center; }
.letter-band .inner { padding: 3.2rem 3rem; }
.letter-band h2 { color: #fff; }
.letter-form { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.6rem; }
.letter-form input {
  flex: 1 1 240px; border: 2px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .07);
  color: #fff; border-radius: 12px; padding: .85rem 1.1rem; font-size: 1rem;
}
.letter-form input::placeholder { color: #b6abc6; }
.letter-form input:focus { outline: none; border-color: var(--qs-poppy); }
.letter-band .small a { color: var(--qs-lilac); }
@media (max-width: 575.98px) { .letter-band .inner { padding: 2.2rem 1.5rem; } }

/* CTA */
.cta-card {
  border-radius: 30px; padding: 3.2rem 3rem; position: relative; overflow: hidden;
  background: var(--qs-violet); color: #ece5f5;
}
.cta-card::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(232, 105, 44, .45);
}
.cta-card::after {
  content: ""; position: absolute; left: 38%; bottom: -60px; width: 140px; height: 140px; border-radius: 50%;
  background: rgba(169, 183, 154, .25);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; }
@media (max-width: 575.98px) { .cta-card { padding: 2.4rem 1.5rem; } }

/* Inner page hero */
.page-hero { padding: 80px 0 96px; color: #d8d1e3; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: .8rem; }
.page-hero p { max-width: 640px; color: #cbc2d8; font-size: 1.1rem; margin-bottom: 0; }
.crumbs { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; gap: .5rem; font-size: .9rem; flex-wrap: wrap; }
.crumbs a { color: var(--qs-lilac); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "\2022"; color: var(--qs-poppy); margin-right: .5rem; }
.crumbs li:last-child { color: #fff; }
.page-hero .ghost-mark {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%); font-size: 13rem; line-height: 1;
  color: rgba(185, 163, 214, .1); pointer-events: none;
}
@media (max-width: 767.98px) { .page-hero .ghost-mark { display: none; } }

/* About */
.story-img { border-radius: 26px; overflow: hidden; box-shadow: var(--qs-shadow); }
.story-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.belief {
  border-left: 4px solid var(--qs-poppy); padding: .4rem 0 .4rem 1.4rem; margin: 1.8rem 0;
  font-family: "Rufina", serif; font-size: 1.35rem; color: var(--qs-ink); line-height: 1.45;
}
.team-band { border-radius: 30px; overflow: hidden; }
.team-band img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

/* Services page anchors */
.svc-grid [id] { scroll-margin-top: 110px; }
.svc-group-title { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.svc-group-title h2 { font-size: 1.7rem; margin: 0; }
.svc-group-title::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--qs-line) 0 8px, transparent 8px 14px); }
.svc-group-title .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--qs-poppy-soft); color: var(--qs-poppy-dark); font-size: 1.2rem; }

/* Forms */
.form-card {
  background: #fff; border-radius: 26px; padding: 2.6rem 2.3rem; border: 1px solid var(--qs-line); box-shadow: var(--qs-shadow-sm);
}
.form-label { font-weight: 600; color: var(--qs-ink); font-size: .95rem; }
.form-control, .form-select {
  border: 2px solid var(--qs-line); border-radius: 12px; padding: .78rem 1rem; background-color: var(--qs-stucco);
}
.form-control:focus, .form-select:focus { border-color: var(--qs-violet); box-shadow: 0 0 0 .22rem rgba(106, 76, 147, .15); background-color: #fff; }
.form-check-input:checked { background-color: var(--qs-violet); border-color: var(--qs-violet); }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.ok { color: var(--qs-sage-deep); }
.form-status.err { color: #b42318; }
@media (max-width: 575.98px) { .form-card { padding: 2rem 1.3rem; } }

/* Contact */
.contact-tile {
  display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: 18px;
  padding: 1.3rem 1.3rem; border: 1px solid var(--qs-line); margin-bottom: 1rem;
}
.contact-tile .ico {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--qs-violet); color: #fff; font-size: 1.3rem;
}
.contact-tile:nth-of-type(2) .ico { background: var(--qs-poppy); }
.contact-tile:nth-of-type(3) .ico { background: var(--qs-sage-deep); }
.contact-tile h3 { font-size: 1.1rem; margin-bottom: .15rem; }
.contact-tile p, .contact-tile a { margin: 0; color: var(--qs-text); text-decoration: none; }
.contact-tile a:hover { color: var(--qs-violet); }
.contact-photo { border-radius: 22px; overflow: hidden; margin-top: 1.4rem; }
.contact-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.map-wrap { border-radius: 26px; overflow: hidden; border: 1px solid var(--qs-line); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* Newsletter pages */
.news-panel { border-radius: 30px; overflow: hidden; background: #fff; border: 1px solid var(--qs-line); box-shadow: var(--qs-shadow-sm); }
.news-panel .side { padding: 3rem 2.6rem; height: 100%; }
.news-panel .perks { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.news-panel .perks li { display: flex; gap: .8rem; margin-bottom: 1rem; color: #ddd5e8; }
.news-panel .perks i { color: var(--qs-poppy); font-size: 1.2rem; }
.news-panel .form-side { padding: 3rem 2.6rem; }
@media (max-width: 575.98px) { .news-panel .side, .news-panel .form-side { padding: 2.2rem 1.4rem; } }

/* Article */
.article-head { max-width: 860px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; color: #cbc2d8; font-size: .95rem; margin-top: 1rem; }
.article-meta i { color: var(--qs-poppy); margin-right: .35rem; }
.article-cover { border-radius: 26px; overflow: hidden; margin-top: -64px; position: relative; z-index: 2; box-shadow: var(--qs-shadow); }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body { font-size: 1.08rem; }
.article-body h2 { font-size: 1.75rem; margin: 2.4rem 0 .9rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-body ul { padding-left: 1.2rem; margin-bottom: 1.4rem; }
.article-body li { margin-bottom: .55rem; }
.article-body li::marker { color: var(--qs-poppy); }
.tip-box {
  background: var(--qs-violet-soft); border-radius: 18px; padding: 1.5rem 1.6rem; margin: 2rem 0;
  border-left: 5px solid var(--qs-violet);
}
.tip-box strong { color: var(--qs-violet-deep); font-family: "Rufina", serif; font-size: 1.15rem; display: block; margin-bottom: .3rem; }
.side-card { background: #fff; border-radius: 22px; padding: 1.8rem 1.6rem; border: 1px solid var(--qs-line); margin-bottom: 1.5rem; }
.side-card h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.side-post { display: flex; gap: .9rem; align-items: center; text-decoration: none; margin-bottom: 1rem; color: var(--qs-ink); }
.side-post img { width: 76px; height: 64px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; }
.side-post span { font-weight: 600; line-height: 1.35; font-size: .95rem; }
.side-post:hover span { color: var(--qs-violet); }
.side-card.dark { background: var(--qs-ink); color: #d6cee2; border: 0; }
.side-card.dark h3 { color: #fff; }
@media (min-width: 992px) { .sticky-side { position: sticky; top: 110px; } }

/* Legal */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin: 2.2rem 0 .8rem; padding-top: 1.2rem; border-top: 1px dashed var(--qs-line); }
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal ul li { margin-bottom: .45rem; }
.legal ul li::marker { color: var(--qs-violet); }
.legal-note { background: var(--qs-sage-soft); border-radius: 16px; padding: 1.2rem 1.4rem; }

/* Footer */
.qs-footer { color: #c9c0d6; padding: 86px 0 0; position: relative; }
.qs-footer h4 {
  color: #fff; font-size: 1.2rem; margin-bottom: 1.3rem; padding-bottom: .7rem; position: relative;
}
.qs-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--qs-poppy); }
.qs-footer .foot-logo img { height: 40px; width: auto; margin-bottom: 1.3rem; }
.qs-footer a { color: #c9c0d6; text-decoration: none; }
.qs-footer a:hover { color: #fff; }
.qs-footer .links { list-style: none; padding: 0; margin: 0; }
.qs-footer .links li { margin-bottom: .55rem; }
.qs-footer .links a { display: inline-flex; gap: .45rem; align-items: center; }
.qs-footer .links a::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--qs-lilac); opacity: .6; transition: background .25s ease; }
.qs-footer .links a:hover::before { background: var(--qs-poppy); opacity: 1; }
.foot-contact { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.foot-contact li { display: flex; gap: .7rem; align-items: center; margin-bottom: .6rem; }
.foot-contact i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--qs-poppy); }
.foot-news { display: flex; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .18); }
.foot-news input { flex: 1; min-width: 0; border: 0; background: rgba(255, 255, 255, .06); color: #fff; padding: .75rem .9rem; }
.foot-news input::placeholder { color: #a99fb8; }
.foot-news input:focus { outline: none; background: rgba(255, 255, 255, .1); }
.foot-news button { border: 0; background: var(--qs-poppy); color: #fff; padding: 0 1rem; font-size: 1.1rem; }
.foot-news button:hover { background: var(--qs-poppy-dark); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 60px; padding: 1.5rem 0; font-size: .92rem; }
.foot-bottom a + a { margin-left: 1.2rem; }

/* Back to top */
.qs-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1040; width: 48px; height: 48px; border-radius: 14px;
  border: 0; background: var(--qs-poppy); color: #fff; font-size: 1.2rem; box-shadow: var(--qs-shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s ease;
}
.qs-top.show { opacity: 1; visibility: visible; transform: none; }
.qs-top:hover { background: var(--qs-violet); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Keep wide gutters from pushing past the screen on phones */
@media (max-width: 767.98px) {
  .g-5, .gx-5 { --bs-gutter-x: 1.5rem; }
}
