/* ==========================================================================
   PUSULA Sigorta — components.css
   Product tiles · Quote selector · Wizard · Campaigns · Testimonials
   FAQ · CTA bands · Blog · Tabs · Toasts · Sticky CTA · Cookie bar
   ========================================================================== */

/* --- Product tile (bordered, not a floating card) ------------------------ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
}
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-tile {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px 28px 26px;
  border-right: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
  color: var(--color-text);
  background: var(--color-white);
  transition: background-color var(--dur) var(--ease);
  min-height: 232px;
}
.product-grid .product-tile:nth-child(4n) { border-right: 0; }
.product-grid .product-tile:nth-last-child(-n+4) { border-bottom: 0; }
/* The four-column rules above still apply when --3 is added, so the variant
   has to put back what they removed before zeroing its own last row. */
.product-grid--3 .product-tile:nth-child(4n) { border-right: 1px solid var(--color-border-soft); }
.product-grid--3 .product-tile:nth-child(3n) { border-right: 0; }
.product-grid--3 .product-tile:nth-last-child(-n+4) { border-bottom: 1px solid var(--color-border-soft); }
.product-grid--3 .product-tile:nth-last-child(-n+3) { border-bottom: 0; }

.product-tile:hover { background: var(--color-bg-soft); color: var(--color-text); }
.product-tile__icon {
  font-size: 1.5rem; color: var(--color-primary); line-height: 1;
  margin-bottom: 20px;
}
.product-tile h3 {
  font-size: 1.1rem; margin: 0 0 9px; letter-spacing: -.02em;
}
.product-tile p {
  font-size: .89rem; color: var(--color-muted); margin: 0 0 20px; line-height: 1.6;
}
.product-tile__foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.product-tile__go {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .855rem; font-weight: 600; color: var(--color-primary);
}
.product-tile__go i { transition: transform var(--dur) var(--ease); }
.product-tile:hover .product-tile__go i { transform: translateX(4px); }
.product-tile__badge {
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--color-accent);
}
.product-tile::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--color-accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.product-tile:hover::after { transform: scaleX(1); }

/* rich product card (products listing page) */
.product-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product-card:hover { border-color: #C5D2CC; box-shadow: var(--shadow-sm); }
.product-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.product-card__icon { font-size: 1.5rem; color: var(--color-primary); line-height: 1; }
.product-card h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.product-card > p { font-size: .9rem; color: var(--color-muted); margin: 0 0 18px; }
.product-card__for {
  padding: 14px 16px; background: var(--color-bg-soft);
  border-radius: var(--radius-sm); margin-bottom: 18px;
}
.product-card__for h4 {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--color-muted); margin: 0 0 7px; font-weight: 700;
}
.product-card__for p { font-size: .855rem; margin: 0; color: var(--color-text); }
.product-card__feat { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.product-card__feat li { display: flex; gap: 9px; font-size: .855rem; color: var(--color-muted); }
.product-card__feat i { color: var(--color-primary); font-size: .95rem; margin-top: 3px; flex: none; }
.product-card__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.product-card__actions .btn { flex: 1 1 auto; }

/* --- Quote product selector (hero adjacent) ------------------------------ */
.quote-selector {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
}
.quote-selector__head {
  display: flex; flex-wrap: wrap; gap: 14px 24px;
  align-items: baseline; justify-content: space-between;
  margin-bottom: 22px;
}
.quote-selector__head h2 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.6rem); margin: 0; }
.quote-selector__head p { margin: 0; font-size: .875rem; color: var(--color-muted); }

.segment-grid {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px;
}
.segment-option {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 18px 10px; min-height: 96px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-text);
  font-size: .845rem; font-weight: 600; text-align: center; line-height: 1.3;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.segment-option i { font-size: 1.35rem; color: var(--color-muted); transition: color var(--dur) var(--ease); }
.segment-option:hover { border-color: var(--color-primary); }
.segment-option:hover i { color: var(--color-primary); }
.segment-option.is-selected {
  border-color: var(--color-primary);
  background: var(--color-mint);
  color: var(--color-primary);
}
.segment-option.is-selected i { color: var(--color-primary); }
.segment-option.is-selected::after {
  content: "\F26E"; font-family: "bootstrap-icons";
  position: absolute; top: 7px; right: 8px;
  font-size: .78rem; color: var(--color-primary);
}
.quote-selector__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--color-border-soft);
}
.quote-selector__foot p { margin: 0; font-size: .82rem; color: var(--color-muted); }

/* --- Individual / corporate switch --------------------------------------- */
.switcher {
  display: inline-flex; padding: 4px; gap: 4px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.switcher button {
  border: 0; background: transparent; border-radius: var(--radius-sm);
  padding: 10px 22px; min-height: 44px;
  font-size: .9rem; font-weight: 600; color: var(--color-muted);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.switcher button:hover { color: var(--color-text); }
.switcher button[aria-selected="true"] {
  background: var(--color-white); color: var(--color-primary);
  box-shadow: var(--shadow-xs);
}
.switch-panel[hidden] { display: none; }

/* --- Multi-step wizard ---------------------------------------------------- */
.wizard { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.wizard__progress {
  display: flex; align-items: center; gap: 0;
  padding: 20px clamp(20px, 3vw, 34px);
  border-bottom: 1px solid var(--color-border-soft);
  overflow-x: auto; scrollbar-width: none;
}
.wizard__progress::-webkit-scrollbar { display: none; }
.wizard__step {
  display: flex; align-items: center; gap: 10px;
  font-size: .855rem; font-weight: 600; color: var(--color-muted);
  white-space: nowrap; flex: none;
}
.wizard__step + .wizard__step::before {
  content: ""; width: clamp(18px, 4vw, 52px); height: 1px;
  background: var(--color-border); margin: 0 14px; flex: none;
}
.wizard__step b {
  width: 28px; height: 28px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1.5px solid var(--color-border);
  font-size: .78rem; font-weight: 700; color: var(--color-muted);
  background: var(--color-white);
  transition: all var(--dur) var(--ease);
}
.wizard__step.is-active { color: var(--color-text); }
.wizard__step.is-active b { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-mint); }
.wizard__step.is-done { color: var(--color-primary); }
.wizard__step.is-done b {
  background: var(--color-primary); border-color: var(--color-primary); color: #fff; font-size: 0;
}
.wizard__step.is-done b::after { content: "\F26E"; font-family: "bootstrap-icons"; font-size: .78rem; }

.wizard__body { padding: clamp(24px, 3.4vw, 40px); }
.wizard__pane[hidden] { display: none; }
.wizard__pane { animation: paneIn .28s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wizard__pane-head { margin-bottom: 26px; }
.wizard__pane-head h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.65rem); margin-bottom: 8px; }
.wizard__pane-head p { margin: 0; font-size: .93rem; color: var(--color-muted); }
.wizard__nav {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--color-border-soft);
  background: var(--color-bg-soft);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.wizard__nav .spacer { flex: 1; }

/* option cards inside wizard (radio tiles) */
.option-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.option-tile { position: relative; }
.option-tile input {
  position: absolute; opacity: 0; width: 1px; height: 1px;
  clip: rect(0 0 0 0); overflow: hidden;
}
.option-tile label {
  display: flex; align-items: center; gap: 13px;
  padding: 17px 18px; min-height: 68px; height: 100%;
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  cursor: pointer; font-size: .93rem; font-weight: 600;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.option-tile label i { font-size: 1.25rem; color: var(--color-muted); flex: none; transition: color var(--dur) var(--ease); }
.option-tile label small { display: block; font-size: .77rem; font-weight: 400; color: var(--color-muted); }
.option-tile label:hover { border-color: var(--color-primary); }
.option-tile input:checked + label {
  border-color: var(--color-primary); background: var(--color-mint); color: var(--color-primary);
}
.option-tile input:checked + label i { color: var(--color-primary); }
.option-tile input:focus-visible + label { outline: 2px solid var(--color-primary); outline-offset: 3px; }

/* summary rows */
.summary-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-border); }
.summary-list li {
  display: flex; gap: 18px; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--color-border-soft); font-size: .93rem;
}
.summary-list dt, .summary-list .k { color: var(--color-muted); }
.summary-list dd, .summary-list .v { margin: 0; font-weight: 600; text-align: right; }

/* success state */
.wizard-success { text-align: center; padding: clamp(30px, 5vw, 56px) 20px; }
.wizard-success__icon {
  width: 68px; height: 68px; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--color-mint);
  color: var(--color-primary); font-size: 1.9rem;
}
.wizard-success h2 { margin-bottom: 12px; }
.wizard-success p { color: var(--color-muted); max-width: 46ch; margin: 0 auto 28px; }
.wizard-success__ref {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border: 1px dashed var(--color-border); border-radius: var(--radius-sm);
  font-size: .86rem; color: var(--color-muted); margin-bottom: 28px;
}
.wizard-success__ref b { color: var(--color-text); font-variant-numeric: tabular-nums; }

/* --- Campaign blocks (horizontal, editorial) ----------------------------- */
.campaign-list { display: grid; gap: 16px; }
.campaign {
  display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 40px); align-items: center;
  padding: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.campaign:hover { border-color: #C5D2CC; }
.campaign__media { aspect-ratio: 4 / 3; height: 100%; }
.campaign__media img { width: 100%; height: 100%; }
.campaign__body { padding: 26px 0; }
.campaign__body h3 { font-size: clamp(1.15rem, 1.02rem + .5vw, 1.45rem); margin: 12px 0 8px; }
.campaign__body p { font-size: .93rem; color: var(--color-muted); margin: 0 0 14px; }
.campaign__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .8rem; color: var(--color-muted); }
.campaign__meta span { display: inline-flex; align-items: center; gap: 6px; }
.campaign__action { padding: 26px 30px 26px 0; }

/* --- Testimonials --------------------------------------------------------- */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.review {
  padding: 34px 34px 34px 0; border-left: 1px solid var(--color-border);
}
.review:first-child { border-left: 0; padding-left: 0; }
.review:not(:first-child) { padding-left: 34px; }
.review__stars { display: flex; gap: 3px; color: var(--color-accent); font-size: .85rem; margin-bottom: 16px; }
.review blockquote {
  margin: 0 0 22px; font-size: 1rem; line-height: 1.68; color: var(--color-text);
  letter-spacing: -.005em;
}
.review__who { display: flex; align-items: center; gap: 12px; }
.review__initials {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  background: var(--color-mint); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
}
.review__who strong { display: block; font-size: .9rem; font-weight: 600; }
.review__who span { display: block; font-size: .78rem; color: var(--color-muted); }

/* --- FAQ accordion -------------------------------------------------------- */
.faq { border-top: 1px solid var(--color-border); }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 24px 0; background: none; border: 0; text-align: start;
  font-size: 1.04rem; font-weight: 600; color: var(--color-text);
  letter-spacing: -.015em; line-height: 1.45;
  transition: color var(--dur) var(--ease);
}
.faq__q:hover { color: var(--color-primary); }
.faq__q i {
  flex: none; font-size: 1.05rem; color: var(--color-muted); margin-top: 2px;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.faq__q[aria-expanded="true"] { color: var(--color-primary); }
.faq__q[aria-expanded="true"] i { transform: rotate(45deg); color: var(--color-primary); }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.faq__a.is-open { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  margin: 0; padding: 0 0 26px; max-width: 74ch;
  font-size: .95rem; color: var(--color-muted); line-height: 1.7;
}
.faq__a p + p { padding-top: 0; }

/* --- Blog / guide --------------------------------------------------------- */
.post-feature {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
  padding-bottom: clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: clamp(32px, 4vw, 52px);
}
.post-feature__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 11; }
.post-feature h3 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2.05rem); margin: 16px 0 14px; }
.post-feature p { color: var(--color-muted); margin-bottom: 22px; }

.post-list { display: grid; gap: 0; border-top: 1px solid var(--color-border); }
.post-row {
  display: grid; grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 36px); align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--color-border);
  transition: padding-inline-start var(--dur) var(--ease);
}
.post-row:hover { padding-inline-start: 8px; }
.post-row__media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.post-row h3 { font-size: 1.1rem; margin: 0 0 7px; letter-spacing: -.018em; }
.post-row h3 a { color: var(--color-text); }
.post-row h3 a:hover { color: var(--color-primary); }
.post-row__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .79rem; color: var(--color-muted); }
.post-row__meta span { display: inline-flex; align-items: center; gap: 6px; }

.post-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.post-card:hover { border-color: #C5D2CC; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.05rem; margin: 12px 0 10px; }
.post-card h3 a { color: var(--color-text); }
.post-card h3 a:hover { color: var(--color-primary); }
.post-card p { font-size: .875rem; color: var(--color-muted); margin: 0 0 16px; }
.post-card__meta { margin-top: auto; font-size: .78rem; color: var(--color-muted); display: flex; gap: 14px; }

/* article body */
.article-body { font-size: 1.04rem; line-height: 1.8; color: #2A322E; }
.article-body h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.85rem); margin: 44px 0 16px; }
.article-body h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.article-body p { margin-bottom: 1.35em; }
.article-body ul, .article-body ol { padding-left: 1.15em; margin-bottom: 1.5em; }
.article-body li { margin-bottom: .55em; }
.article-body blockquote {
  margin: 32px 0; padding: 4px 0 4px 24px;
  border-left: 3px solid var(--color-accent);
  font-size: 1.1rem; line-height: 1.6; color: var(--color-text); font-weight: 500;
}
.article-body img { border-radius: var(--radius-md); margin: 28px 0; }

.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc h4 {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--color-muted); margin-bottom: 14px; font-weight: 700;
}
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--color-border); }
.toc a {
  display: block; padding: 8px 0 8px 16px; margin-left: -1px;
  font-size: .875rem; color: var(--color-muted); border-left: 2px solid transparent;
}
.toc a:hover, .toc a.is-current { color: var(--color-primary); border-left-color: var(--color-primary); }

/* --- Filter bar ----------------------------------------------------------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid var(--color-border);
}
.filter-chip {
  padding: 9px 17px; min-height: 42px;
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--color-border); border-radius: 999px;
  background: var(--color-white); color: var(--color-muted);
  font-size: .875rem; font-weight: 600;
  transition: all var(--dur) var(--ease);
}
.filter-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-chip[aria-pressed="true"] {
  background: var(--color-dark); border-color: var(--color-dark); color: #fff;
}
.filter-count { font-size: .82rem; color: var(--color-muted); margin-left: auto; }

/* --- CTA bands ------------------------------------------------------------ */
.cta-band {
  background: var(--color-dark); color: rgba(255,255,255,.74);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 4.5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.cta-band--green { background: var(--color-primary); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.7); max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.cta-full {
  background: var(--color-dark);
  padding-block: clamp(64px, 7vw, 108px);
  position: relative; overflow: hidden;
}
.cta-full::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 78% 12%, rgba(41,94,82,.5) 0%, transparent 62%);
  pointer-events: none;
}
.cta-full > * { position: relative; }

/* advisor panel */
.advisor-panel {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px);
}
.advisor-panel h3 { font-size: 1.2rem; margin-bottom: 6px; }
.advisor-panel > p { font-size: .89rem; color: var(--color-muted); margin-bottom: 22px; }

/* --- Claims document selector -------------------------------------------- */
.doc-selector { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 0;
  border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden;
  background: var(--color-white); }
.doc-selector__nav { border-right: 1px solid var(--color-border); background: var(--color-bg-soft); }
.doc-selector__nav button {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 17px 22px; min-height: 60px;
  background: none; border: 0; border-bottom: 1px solid var(--color-border-soft);
  font-size: .95rem; font-weight: 600; color: var(--color-muted); text-align: start;
  transition: all var(--dur) var(--ease); position: relative;
}
.doc-selector__nav button i { font-size: 1.1rem; flex: none; }
.doc-selector__nav button:hover { color: var(--color-text); background: rgba(255,255,255,.6); }
.doc-selector__nav button[aria-selected="true"] {
  background: var(--color-white); color: var(--color-primary);
}
.doc-selector__nav button[aria-selected="true"]::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--color-accent);
}
.doc-selector__panel { padding: clamp(26px, 3vw, 38px); }
.doc-selector__panel[hidden] { display: none; }
.doc-selector__panel h3 { font-size: 1.2rem; margin-bottom: 8px; }
.doc-selector__panel > p { color: var(--color-muted); font-size: .92rem; margin-bottom: 22px; }

/* file upload demo */
.file-drop {
  border: 1.5px dashed var(--color-border); border-radius: var(--radius-md);
  padding: 28px 22px; text-align: center; background: var(--color-bg-soft);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
  cursor: pointer;
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--color-primary); background: var(--color-mint); }
.file-drop i { font-size: 1.6rem; color: var(--color-primary); }
.file-drop p { margin: 12px 0 4px; font-size: .92rem; font-weight: 600; }
.file-drop span { font-size: .79rem; color: var(--color-muted); }
.file-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.file-list li {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  font-size: .85rem; background: var(--color-white);
}
.file-list li i:first-child { color: var(--color-primary); }
.file-list button {
  margin-left: auto; background: none; border: 0; color: var(--color-muted);
  width: 30px; height: 30px; border-radius: var(--radius-xs);
}
.file-list button:hover { color: var(--color-danger); background: var(--color-bg-soft); }

/* --- Company (insurer) row ------------------------------------------------ */
.company-row {
  display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(20px, 3vw, 40px); align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--color-border);
}
.company-row:first-child { border-top: 1px solid var(--color-border); }
.company-row__logo { color: var(--color-dark); }
.company-row__logo svg { width: 165px; }
.company-row h3 { font-size: 1.05rem; margin: 0 0 6px; }
.company-row p { font-size: .885rem; color: var(--color-muted); margin: 0; }
.company-row__tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* --- Team ---------------------------------------------------------------- */
.team-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.team-card__media { aspect-ratio: 4 / 5; }
.team-card__media img { width: 100%; height: 100%; }
.team-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.team-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.team-card__role { font-size: .82rem; color: var(--color-accent); font-weight: 600; margin-bottom: 14px; }
.team-card__links { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--color-border-soft); display: grid; gap: 8px; }
.team-card__links a { display: flex; align-items: center; gap: 9px; font-size: .855rem; color: var(--color-muted); }
.team-card__links a:hover { color: var(--color-primary); }

/* --- Contact info list ---------------------------------------------------- */
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-border); }
.contact-list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 22px 0; border-bottom: 1px solid var(--color-border);
}
.contact-list__icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--color-mint); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-list h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--color-muted); margin: 4px 0 6px; font-weight: 700; }
.contact-list p, .contact-list a { margin: 0; font-size: 1.02rem; font-weight: 600; color: var(--color-text); }
.contact-list a:hover { color: var(--color-primary); }
.contact-list small { display: block; font-size: .82rem; font-weight: 400; color: var(--color-muted); margin-top: 4px; }

/* --- Coverage table ------------------------------------------------------- */
.table-wrap {
  overflow-x: auto; max-width: 100%;
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  background: var(--color-white);
  -webkit-overflow-scrolling: touch;
}
.table-brand { width: 100%; min-width: 560px; border-collapse: collapse; margin: 0; font-size: .92rem; }
.table-brand th, .table-brand td { padding: 15px 20px; text-align: start; border-bottom: 1px solid var(--color-border-soft); }
.table-brand thead th {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--color-muted); font-weight: 700; background: var(--color-bg-soft);
}
.table-brand tbody tr:last-child td { border-bottom: 0; }
.table-brand td strong { font-weight: 600; }
.table-brand .yes { color: var(--color-success); }
.table-brand .opt { color: var(--color-warning); }

/* --- Toast ---------------------------------------------------------------- */
.toast-stack {
  position: fixed; right: 20px; bottom: 20px; z-index: 1080;
  display: grid; gap: 10px; width: min(360px, calc(100vw - 40px));
}
.toast-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 17px; border-radius: var(--radius-md);
  background: var(--color-dark); color: #fff;
  box-shadow: var(--shadow-md);
  animation: toastIn .3s var(--ease);
  font-size: .89rem; line-height: 1.5;
}
.toast-item.is-out { animation: toastOut .25s var(--ease) forwards; }
.toast-item i:first-child { font-size: 1.1rem; margin-top: 1px; flex: none; }
.toast-item.is-success i:first-child { color: #6FCB93; }
.toast-item.is-error i:first-child { color: #E88A84; }
.toast-item strong { display: block; font-weight: 600; margin-bottom: 2px; }
.toast-item span { color: rgba(255,255,255,.7); }
.toast-item button { margin-left: auto; background: none; border: 0; color: rgba(255,255,255,.5); padding: 0 2px; }
.toast-item button:hover { color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* --- Sticky mobile CTA ---------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
}
.sticky-cta .btn { flex: 1; min-height: 50px; }
.sticky-cta .btn-outline-brand { flex: 0 0 46%; }

/* whatsapp chip (desktop only) */
.wa-chip {
  position: fixed; right: 22px; bottom: 22px; z-index: 1035;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 17px; border-radius: 999px;
  background: var(--color-dark); color: #fff;
  font-size: .875rem; font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.wa-chip:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.wa-chip i { font-size: 1.15rem; }

/* --- Cookie bar ----------------------------------------------------------- */
.cookie-bar {
  position: fixed; left: 20px; bottom: 20px; z-index: 1060;
  width: min(480px, calc(100vw - 40px));
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: 20px 22px; display: none;
}
.cookie-bar.is-visible { display: block; animation: toastIn .35s var(--ease); }
.cookie-bar p { font-size: .855rem; color: var(--color-muted); margin: 0 0 16px; }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 9px; }

/* --- Empty & error states ------------------------------------------------- */
.empty-state {
  padding: clamp(40px, 6vw, 72px) 24px; text-align: center;
  border: 1px dashed var(--color-border); border-radius: var(--radius-md);
  background: var(--color-white);
}
.empty-state i { font-size: 1.9rem; color: var(--color-border); }
.empty-state h3 { font-size: 1.1rem; margin: 16px 0 8px; }
.empty-state p { color: var(--color-muted); font-size: .92rem; margin: 0 auto; max-width: 42ch; }

.alert-brand {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 15px 17px; border-radius: var(--radius-sm);
  border: 1px solid var(--color-border); background: var(--color-bg-soft);
  font-size: .88rem; color: var(--color-muted); line-height: 1.6;
}
.alert-brand i { font-size: 1.05rem; margin-top: 2px; flex: none; color: var(--color-primary); }
.alert-brand--warning { border-color: rgba(183,119,36,.3); background: rgba(183,119,36,.07); }
.alert-brand--warning i { color: var(--color-warning); }
.alert-brand--error { border-color: rgba(182,75,69,.3); background: rgba(182,75,69,.06); }
.alert-brand--error i { color: var(--color-danger); }
.alert-brand--success { border-color: rgba(37,128,74,.3); background: rgba(37,128,74,.06); }
.alert-brand--success i { color: var(--color-success); }
.alert-brand[hidden] { display: none; }

/* --- Auth (login) --------------------------------------------------------- */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); }
.auth-form-col { display: flex; align-items: center; justify-content: center; padding: clamp(40px, 6vw, 80px) 24px; }
.auth-form { width: 100%; max-width: 420px; }
.auth-aside {
  background: var(--color-dark); color: rgba(255,255,255,.7);
  padding: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.auth-aside::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 80% 15%, rgba(41,94,82,.55) 0%, transparent 60%);
}
.auth-aside > * { position: relative; }

/* --- 404 ------------------------------------------------------------------ */
.notfound { text-align: center; padding-block: clamp(64px, 9vw, 130px); }
.notfound__code {
  font-size: clamp(4.5rem, 3rem + 8vw, 9rem); font-weight: 800;
  letter-spacing: -.06em; line-height: 1; color: var(--color-mint); margin-bottom: 10px;
}
.notfound h1 { margin-bottom: 16px; }
.notfound p { margin: 0 auto 32px; max-width: 44ch; }

/* --- Modal overrides ------------------------------------------------------ */
.modal-content { border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.modal-header { border-bottom: 1px solid var(--color-border-soft); padding: 22px 26px; }
.modal-title { font-size: 1.2rem; }
.modal-body { padding: 26px; }
.modal-footer { border-top: 1px solid var(--color-border-soft); padding: 18px 26px; }
.modal-backdrop.show { opacity: .45; }

/* --- Pagination ----------------------------------------------------------- */
.pager { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 44px; }
.pager a, .pager span {
  min-width: 44px; height: 44px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600; color: var(--color-muted); background: var(--color-white);
}
.pager a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pager [aria-current="page"] { background: var(--color-dark); border-color: var(--color-dark); color: #fff; }
.pager .is-disabled { opacity: .45; pointer-events: none; }

/* --- Utility -------------------------------------------------------------- */
.is-hidden { display: none !important; }
/* Only hide pre-reveal content once JS has confirmed it can reveal it again. */
.has-js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.has-js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .has-js .reveal { opacity: 1; transform: none; } }

/* --- Utilities ------------------------------------------------------------ */
.u-mb-0 { margin-bottom: 0 !important; }
.u-text-sm { font-size: .92rem; }
.u-text-xs { font-size: .87rem; }
.u-text-2xs { font-size: .82rem; }
.u-note-light { font-size: .82rem; color: rgba(255, 255, 255, .45); }
.u-align-center { align-items: center; }
.u-address { font-style: normal; font-weight: 600; }
.u-lead-strong { color: var(--color-text); }
.u-ratio-wide { aspect-ratio: 21 / 9; }

/* --- Backend-driven additions --------------------------------------------- */
/* Uploaded logo replaces the built-in wordmark when one is set. */
.brand__logo { max-height: 60px; width: auto; }

.footer-social { list-style: none; display: flex; gap: 8px; margin: 20px 0 0; padding: 0; }
.footer-social a {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.7); font-size: 1rem;
  transition: all var(--dur) var(--ease);
}
.footer-social a:hover { border-color: rgba(255,255,255,.4); color: #fff; background: rgba(255,255,255,.06); }

/* Honeypot: present in the DOM, invisible and unreachable for real visitors.
   Clipped in place rather than pushed off-screen, so it can never widen the page. */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; white-space: nowrap;
  clip: rect(0 0 0 0); clip-path: inset(50%);
}

/* Checklist entries that link to a product. */
.checklist a { color: inherit; }
.checklist a:hover { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }

.campaign__body h3 a { color: inherit; }
.campaign__body h3 a:hover { color: var(--color-primary); }
