/* Site modules: deliberately scoped, sharing the theme's dynamic palette. */
.asm-section { padding: clamp(40px, 6vw, 80px) 0; }
.asm-shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.asm-page { padding: 36px 0 72px; }
.asm-page-heading { margin-bottom: 36px; }
.asm-page-heading h1 { font-family: var(--font-serif, Georgia, serif); color: var(--color-primary-dark, #0e5f76); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.15; margin: 20px 0; overflow-wrap: anywhere; }
.asm-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: var(--color-text-muted, #617c85); font-size: .9rem; }
.asm-section-heading { display: flex; gap: 24px; justify-content: space-between; align-items: end; margin-bottom: 28px; }
.asm-section-heading > * { min-width: 0; }
.asm-eyebrow { display: block; color: var(--color-primary-dark, #0e5f76); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 10px; }
.asm-section-heading h2, .asm-contact-intro h2 { font-family: var(--font-serif, Georgia, serif); color: var(--color-primary-dark, #0e5f76); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.25; margin: 0; }
.asm-section-heading > p { max-width: 420px; margin: 0; color: #526d76; line-height: 1.7; }
.asm-empty { padding: 28px; border: 1px dashed var(--color-accent-soft, #b8dfe6); background: var(--color-ice-mist, #edf7f9); border-radius: 20px; color: #43626c; line-height: 1.7; }
.asm-empty p { margin: 0; }
.asm-empty h2 { font-family: var(--font-serif, Georgia, serif); font-size: 1.5rem; margin: 0 0 12px; }
.asm-clients { background: #fff; }
.asm-client-rail { display: flex; gap: 20px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x proximity; }
.asm-client-item { flex: 0 0 220px; margin: 0; padding: 22px; border: 1px solid #dfedf0; border-radius: 20px; background: #fff; scroll-snap-align: start; text-align: center; }
.asm-client-item a { display: block; }
.asm-client-item img { width: 100%; height: 100px; object-fit: contain; }
.asm-client-item figcaption { margin-top: 14px; color: #43626c; font-size: .85rem; }
.asm-carousel-controls { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.asm-carousel-controls[hidden] { display: none; }
.asm-circle-button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-accent-soft, #b8dfe6); background: #fff; color: var(--color-primary-dark, #0e5f76); cursor: pointer; font-size: 1.2rem; }
.asm-circle-button:disabled { opacity: .4; cursor: default; }
.asm-testimonials { background: var(--color-ice-mist, #edf7f9); }
.asm-testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.asm-testimonial-card { margin: 0; background: #fff; border: 1px solid #dcebee; border-radius: 24px; padding: 30px; }
.asm-quote-mark { display: block; font: 4rem/.8 Georgia, serif; color: var(--color-accent-soft, #b8dfe6); }
.asm-testimonial-card blockquote { margin: 18px 0 24px; color: #324e56; font-size: 1.05rem; line-height: 1.8; }
.asm-testimonial-card blockquote p { margin: 0 0 12px; }
.asm-testimonial-card figcaption { color: var(--color-primary-dark, #0e5f76); font-size: .85rem; font-weight: 700; }
.asm-team { background: #fafcfc; }
.asm-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.asm-team-card { min-width: 0; overflow: hidden; border-radius: 24px; border: 1px solid #dcebee; background: #fff; }
.asm-team-photo { position: relative; background: #e6f1f3; aspect-ratio: 5 / 4; overflow: hidden; }
.asm-team-photo > img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 35%; }
.asm-photo-placeholder { height: 100%; display: grid; place-items: center; color: #43626c; text-align: center; padding: 24px; }
.asm-demo-label { display: inline-block; padding: 8px 12px; background: #f9efdc; color: #735011; border: 1px solid #e9d6ae; border-radius: 10px; font-size: .8rem; line-height: 1.5; }
.asm-team-photo .asm-demo-label { position: absolute; left: 16px; right: 16px; bottom: 16px; width: fit-content; max-width: calc(100% - 32px); }
.asm-team-copy { padding: 28px; color: #43626c; line-height: 1.7; }
.asm-team-copy h3 { font: 700 1.7rem var(--font-serif, Georgia, serif); color: var(--color-primary-dark, #0e5f76); margin: 0 0 10px; }
.asm-team-role { font-size: .9rem; color: var(--color-primary-dark, #0e5f76); font-weight: 700; }
.asm-team-detail { border-top: 1px solid #e6f0f2; margin-top: 20px; padding-top: 16px; }
.asm-team-detail h4 { color: var(--color-primary-dark, #0e5f76); margin: 0 0 8px; }
.asm-team-detail p { margin: 0; }
.asm-muted { color: #617c85; font-size: .9rem; }
.asm-section-action { margin-top: 30px; text-align: center; }
.asm-b2b-banner { padding-block: 40px; }
.asm-b2b-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(24px, 4vw, 44px); background: var(--color-ice-mist, #edf7f9); border: 1px solid var(--color-accent-soft, #b8dfe6); border-radius: 24px; }
.asm-b2b-panel > div { min-width: 0; max-width: 690px; }
.asm-b2b-panel h2 { font: 700 clamp(1.4rem, 2.5vw, 2rem) var(--font-serif, Georgia, serif); color: var(--color-primary-dark, #0e5f76); margin: 0 0 12px; }
.asm-b2b-panel p { color: #43626c; line-height: 1.7; margin: 0; }
.asm-b2b-panel > a { flex-shrink: 0; text-align: center; }
.asm-contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.asm-contact-intro { padding: 24px 0; color: #43626c; line-height: 1.8; }
.asm-contact-brand { font-weight: 800; color: var(--color-primary-dark, #0e5f76); }
.asm-contact-channels { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.asm-channel { padding: 14px 18px; border: 1px solid var(--color-accent-soft, #b8dfe6); border-radius: 12px; font-weight: 700; background: #fff; }
.asm-lead-form { min-width: 0; padding: clamp(20px, 3vw, 36px); background: #fff; border: 1px solid #dcebee; border-radius: 24px; box-shadow: 0 14px 40px rgb(14 95 118 / 5%); }
.asm-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.asm-form-field { min-width: 0; }
.asm-form-field--wide { grid-column: 1 / -1; }
.asm-form-field > label { display: block; font-size: .88rem; color: #324e56; font-weight: 700; margin-bottom: 8px; }
.asm-form-field input, .asm-form-field textarea, .asm-blog-filters select { width: 100%; box-sizing: border-box; border: 1px solid #b8dfe6; border-radius: 10px; padding: 12px; color: #243d45; background: #fff; font: inherit; font-size: 1rem; }
.asm-form-field textarea { resize: vertical; }
.asm-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.asm-privacy-fields { min-width: 0; border: 1px solid #dfebed; border-radius: 14px; padding: 18px; margin: 24px 0; color: #43626c; }
.asm-privacy-fields legend { font-size: .85rem; font-weight: 800; padding-inline: 6px; }
.asm-privacy-copy, .asm-privacy-fields > p { font-size: .82rem; line-height: 1.7; margin: 8px 0 14px; overflow-wrap: anywhere; }
.asm-checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; font-size: .85rem; line-height: 1.6; cursor: pointer; }
.asm-checkbox > input { flex: 0 0 18px; width: 18px !important; height: 18px; margin: 4px 0 0; accent-color: var(--color-primary-dark, #0e5f76); }
.asm-checkbox > span { min-width: 0; }
.asm-lead-form [data-asm-form-result] { font-size: .9rem; line-height: 1.6; margin: 16px 0 0; overflow-wrap: anywhere; }
.asm-lead-form [data-asm-form-result][data-state="error"] { color: #963b2c; }
.asm-lead-form [data-asm-form-result][data-state="success"] { color: #226746; }
.asm-lead-form button:disabled { opacity: .6; cursor: wait; }
.asm-campaign-grid, .asm-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.asm-campaign-card, .asm-blog-card { min-width: 0; border: 1px solid #dcebee; border-radius: 24px; background: #fff; overflow: hidden; }
.asm-campaign-card { padding: 28px; }
.asm-campaign-card h3, .asm-blog-card h2 { font: 700 1.4rem/1.35 var(--font-serif, Georgia, serif); color: var(--color-primary-dark, #0e5f76); margin: 0 0 16px; }
.asm-campaign-card p, .asm-blog-card p { color: #43626c; line-height: 1.7; }
.asm-text-link { font-weight: 800; color: var(--color-primary-dark, #0e5f76); }
.asm-campaign-hero { padding: clamp(24px, 4vw, 48px); background: var(--color-ice-mist, #edf7f9); border: 1px solid #dcebee; border-radius: 24px; }
.asm-campaign-intro { font-size: 1.1rem; line-height: 1.8; color: #324e56; }
.asm-campaign-dates { color: #617c85; font-size: .9rem; }
.asm-campaign-catalog { padding-block: 48px; }
.asm-product-grid > * { min-width: 0; }
.asm-campaign-conditions { padding: 24px; border-top: 1px solid #dcebee; color: #43626c; line-height: 1.7; }
.asm-campaign-conditions h2 { font-size: 1.2rem; }
.asm-cross-sell { padding-block: 24px; }
.asm-blog-intro { color: #43626c; font-size: 1.1rem; line-height: 1.8; }
.asm-blog-filters { display: flex; align-items: flex-end; gap: 16px; margin: 28px 0; padding: 20px; border-radius: 16px; background: var(--color-ice-mist, #edf7f9); }
.asm-blog-filters label { flex: 1; min-width: 0; font-size: .9rem; font-weight: 700; color: #43626c; }
.asm-blog-filters select { display: block; margin-top: 8px; }
.asm-blog-card > a > img { width: 100%; height: 200px; object-fit: cover; display: block; }
.asm-blog-card > div { padding: 24px; }
.asm-blog-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.asm-blog-pagination .page-numbers { padding: 8px 12px; border: 1px solid #dcebee; border-radius: 8px; }
.asm-blog-pagination .current { background: var(--color-primary-dark, #0e5f76); color: #fff; }
.asm-social-links { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 22px; font-size: .85rem; }
.asm-section a:focus-visible, .asm-shell a:focus-visible, .asm-shell input:focus-visible, .asm-shell textarea:focus-visible, .asm-shell select:focus-visible, .asm-shell button:focus-visible, .asm-circle-button:focus-visible, .asm-client-rail:focus-visible { outline: 3px solid var(--color-primary-dark, #0e5f76); outline-offset: 3px; }
@media (max-width: 1000px) {
  .asm-b2b-panel { flex-direction: column; align-items: flex-start; }
  .asm-testimonial-grid, .asm-campaign-grid, .asm-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asm-contact-grid { gap: 24px; }
}
@media (max-width: 700px) {
  .asm-shell { width: calc(100% - 32px); }
  .asm-section-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
  .asm-team-grid, .asm-testimonial-grid, .asm-campaign-grid, .asm-blog-grid, .asm-contact-grid, .asm-form-grid { grid-template-columns: minmax(0, 1fr); }
  .asm-contact-grid { gap: 8px; }
  .asm-team-copy { padding: 22px; }
  .asm-blog-filters { flex-direction: column; align-items: stretch; }
  .asm-b2b-panel > a, .asm-lead-form > button { max-width: 100%; white-space: normal; }
  .asm-page-heading { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { .asm-client-rail { scroll-behavior: auto; } }

/* Transactional modules: same palette, different purchase/quote state. */
.asm-header-quote { display: inline-flex; position: relative; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; color: var(--color-primary-dark, #0e5f76); background: #f5fafb; border: 1px solid #dcebee; border-radius: 50%; font-size: 1.4rem; }
.asm-header-quote [data-asm-quote-count] { position: absolute; top: -4px; right: -3px; min-width: 16px; height: 16px; padding: 1px 3px; border-radius: 12px; background: var(--color-primary-dark, #0e5f76); color: #fff; font-size: .65rem; text-align: center; }
.asm-channel-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.asm-channel-switch a { padding: 10px 14px; border: 1px solid #dcebee; border-radius: 10px; font-size: .85rem; }
.asm-channel-switch a[aria-current="page"] { color: #fff; background: var(--color-primary-dark, #0e5f76); }
.asm-product-story { margin: 24px 0; padding: 20px; border: 1px solid #dcebee; border-radius: 16px; background: var(--color-ice-mist, #edf7f9); }
.asm-product-story section + section { border-top: 1px solid #dcebee; padding-top: 14px; margin-top: 14px; }
.asm-product-story h2 { font: 700 1.05rem var(--font-serif, Georgia, serif); margin: 0 0 8px; color: var(--color-primary-dark, #0e5f76); }
.asm-product-story p { line-height: 1.7; font-size: .95rem; margin: 0; color: #43626c; overflow-wrap: anywhere; }
.asm-quote-add { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0; }
.asm-quote-add > label { width: 100%; font-weight: 700; font-size: .9rem; }
.asm-quote-add select, .asm-quote-add input, .asm-quote-line input { min-width: 0; border: 1px solid #b8dfe6; border-radius: 8px; padding: 10px; background: #fff; color: #324e56; font: inherit; }
.asm-quote-add input { width: 90px; }
.asm-quote-add select { width: 100%; max-width: 100%; }
.asm-quote-add [data-asm-quote-result], .asm-quote-add .asm-muted { width: 100%; margin: 0; font-size: .82rem; }
.asm-quote-add--compact { margin: 0; gap: 6px; }
.asm-quote-add--compact input[type="number"] { width: 64px; padding: 8px; font-size: .85rem; }
.asm-quote-add--compact .btn-buy { white-space: normal; }
.asm-quote-add--compact [data-asm-quote-result] { max-width: 160px; font-size: .75rem; }
.asm-quote-explanation { font-size: 1.05rem; line-height: 1.8; color: #43626c; }
.asm-quote-lines { margin: 30px 0; }
.asm-quote-line { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; border: 1px solid #dcebee; border-radius: 20px; padding: 24px; margin-bottom: 16px; }
.asm-quote-line > * { min-width: 0; }
.asm-quote-line h2 { font: 700 1.25rem var(--font-serif, Georgia, serif); margin: 0 0 10px; }
.asm-quote-line input { width: 90px; }
.asm-quote-line label { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.asm-quote-line button.asm-text-link { border: 0; padding: 0; background: none; cursor: pointer; }
.asm-quote-request { max-width: 850px; margin: 36px auto 0; }
.asm-quote-request h2 { font: 700 1.7rem var(--font-serif, Georgia, serif); margin: 0 0 24px; }
.asm-about .asm-campaign-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 30px 0; }
.asm-about .asm-campaign-card h2 { font: 700 1.5rem var(--font-serif, Georgia, serif); }
.asm-about .asm-channel { display: block; margin-top: 10px; }
.asm-legal-pending { opacity: .7; }
.asm-quote-add > label.screen-reader-text, .search-form-full > label.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.search-form-full:has(#aromantica-search-brand) { flex-wrap: wrap; }
.search-form-full #aromantica-search-brand, .search-form-full #aromantica-search-channel { min-width: 0; max-width: 100%; border: 1px solid #b8dfe6; border-radius: 8px; padding: 10px; background: #fff; color: #324e56; font: inherit; font-size: .85rem; }
.search-form-full:has(#aromantica-search-brand) .search-field { min-width: 140px; }
@media (max-width: 700px) {
  .asm-quote-line, .asm-about .asm-campaign-grid { grid-template-columns: minmax(0, 1fr); }
  .asm-quote-add .btn, .asm-quote-add .btn-buy { max-width: 100%; white-space: normal; }
  .asm-quote-add--compact { flex-direction: column; align-items: stretch; }
}
