/* Euphoria Capital – plans, dashboards, checkout and promotions. Matches the site's navy/gold palette. */
.ecm-dash,
.ecm-pricing,
.ecm-featured,
.ecm-banners,
.ecm-contact,
.ecm-project-brand,
.ecm-pay {
	--ecm-ink: #1a1a1a;
	--ecm-deep: #101a25;
	--ecm-gold: #b8860b;
	--ecm-gold-bright: #d5aa3c;
	--ecm-gold-text: #8d6505;
	--ecm-muted: #5d636b;
	--ecm-line: rgba(26, 26, 26, .14);
	--ecm-soft: #f7f5f0;
	--ecm-good: #176b58;
	--ecm-good-bg: #eaf5ef;
	--ecm-warn: #8a6116;
	--ecm-warn-bg: #fcf6e6;
	--ecm-bad: #963d20;
	--ecm-bad-bg: #fff1eb;
	color: var(--ecm-ink);
}
.ecm-dash *, .ecm-pricing *, .ecm-featured *, .ecm-pay * { box-sizing: border-box; }

/* Buttons */
.ecm-dash .ecm-button, .ecm-pricing .ecm-button, .ecm-pay .ecm-button, .ecm-contact .ecm-button,
.ecm-dash button[type="submit"]:not(.ecm-link-button) {
	align-items: center; background: var(--ecm-deep); border: 1px solid var(--ecm-deep); border-radius: 2px; color: #fff; cursor: pointer;
	display: inline-flex; font: inherit; font-size: .9rem; font-weight: 700; gap: .4rem; justify-content: center; letter-spacing: .02em;
	min-height: 2.75rem; padding: .7rem 1.15rem; text-decoration: none; width: auto;
}
.ecm-dash .ecm-button:hover, .ecm-pricing .ecm-button:hover, .ecm-pay .ecm-button:hover, .ecm-dash button[type="submit"]:not(.ecm-link-button):hover { background: #1d2b3b; color: #fff; }
.ecm-dash .ecm-button:focus-visible, .ecm-pricing .ecm-button:focus-visible, .ecm-link-button:focus-visible, .ecm-tabs a:focus-visible { outline: 3px solid var(--ecm-gold-bright); outline-offset: 2px; }
.ecm-button--ghost, .ecm-dash .ecm-button--ghost, .ecm-pricing .ecm-button--ghost, .ecm-dash button.ecm-button--ghost { background: transparent !important; color: var(--ecm-deep) !important; }
.ecm-button--ghost:hover { background: var(--ecm-soft) !important; }
.ecm-link-button { background: none; border: 0; color: var(--ecm-gold-text); cursor: pointer; font: inherit; font-weight: 700; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* Dashboard shell */
.ecm-dash { margin-inline: auto; max-width: 1200px; padding: 1.5rem 1rem 3rem; }
.ecm-dash__head { align-items: flex-end; border-bottom: 1px solid var(--ecm-line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-bottom: 1.25rem; }
.ecm-dash__eyebrow, .ecm-plan-panel__eyebrow, .ecm-pay__eyebrow { color: var(--ecm-gold-text); font-size: .72rem; font-weight: 800; letter-spacing: .16em; margin: 0 0 .4rem; text-transform: uppercase; }
.ecm-dash__head h2 { align-items: center; display: flex; flex-wrap: wrap; font-size: clamp(1.5rem, 3vw, 2rem); gap: .6rem; line-height: 1.15; margin: 0; }
.ecm-dash__logout { color: var(--ecm-muted); font-size: .9rem; }
.ecm-dash__title { font-size: 1.2rem; margin: 2rem 0 .75rem; }
.ecm-dash__lede { color: var(--ecm-muted); margin: -.25rem 0 1.25rem; max-width: 70ch; }
.ecm-dash__bar { align-items: center; display: flex; flex-wrap: wrap; gap: .75rem 1rem; justify-content: space-between; margin: 2rem 0 1rem; }
.ecm-dash__bar .ecm-dash__title { margin: 0; }
.ecm-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.ecm-empty-line { background: var(--ecm-soft); color: var(--ecm-muted); padding: 1.25rem; }

.ecm-tabs { border-bottom: 1px solid var(--ecm-line); display: flex; gap: .25rem; margin: 0 0 1.5rem; overflow-x: auto; scrollbar-width: thin; }
.ecm-tabs a { border-bottom: 3px solid transparent; color: var(--ecm-muted); flex: none; font-size: .92rem; font-weight: 700; padding: .9rem .85rem .75rem; text-decoration: none; white-space: nowrap; }
.ecm-tabs a:hover { color: var(--ecm-ink); }
.ecm-tabs a[aria-current="page"] { border-bottom-color: var(--ecm-gold); color: var(--ecm-ink); }

/* Pills & badges */
.ecm-pill { background: var(--ecm-soft); border-radius: 999px; color: var(--ecm-muted); display: inline-block; font-size: .75rem; font-weight: 700; line-height: 1.2; padding: .3rem .65rem; white-space: nowrap; }
.ecm-pill--approved, .ecm-pill--active, .ecm-pill--successful, .ecm-pill--won, .ecm-pill--closed { background: var(--ecm-good-bg); color: var(--ecm-good); }
.ecm-pill--under_review, .ecm-pill--resubmitted, .ecm-pill--pending, .ecm-pill--scheduled, .ecm-pill--new, .ecm-pill--draft { background: var(--ecm-warn-bg); color: var(--ecm-warn); }
.ecm-pill--declined, .ecm-pill--rejected, .ecm-pill--expired, .ecm-pill--paused, .ecm-pill--failed, .ecm-pill--cancelled, .ecm-pill--suspended, .ecm-pill--lost { background: var(--ecm-bad-bg); color: var(--ecm-bad); }
.ecm-badge-featured { background: var(--ecm-gold); border-radius: 2px; color: #1a1a1a; display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; padding: .25rem .5rem; text-transform: uppercase; }
.ecm-verified { align-items: center; background: var(--ecm-good-bg, #eaf5ef); border-radius: 999px; color: var(--ecm-good, #176b58); display: inline-flex; font-size: .75rem; font-weight: 700; gap: .3rem; padding: .25rem .6rem; }
.ecm-verified::before { content: "\2713"; }
.ecm-property-card__featured { background: #b8860b; color: #1a1a1a; font-size: .68rem; font-weight: 800; left: .75rem; letter-spacing: .1em; padding: .25rem .5rem; position: absolute; text-transform: uppercase; top: 2.5rem; }
.ecm-property-card__image { position: relative; }

/* Current plan panel */
.ecm-plan-panel { background: var(--ecm-deep); background-image: radial-gradient(circle at 100% 0, rgba(213, 170, 60, .22), transparent 55%); color: rgba(243, 239, 231, .85); display: grid; gap: 1.5rem 2.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: 1.5rem; padding: 1.75rem; }
.ecm-plan-panel h3 { color: #fff; font-size: 1.6rem; margin: 0 0 .4rem; }
.ecm-plan-panel__eyebrow { color: var(--ecm-gold-bright); }
.ecm-plan-panel__meta { margin: 0 0 1.2rem; }
.ecm-plan-panel .ecm-button { background: var(--ecm-gold); border-color: var(--ecm-gold); color: #1a1a1a; }
.ecm-plan-panel .ecm-button:hover { background: var(--ecm-gold-bright); color: #1a1a1a; }
.ecm-meters { align-content: center; display: grid; gap: 1rem; margin: 0; }
.ecm-meter dt { font-size: .85rem; margin-bottom: .3rem; }
.ecm-meter dd { color: #fff; margin: 0; }
.ecm-meter__bar { background: rgba(255, 255, 255, .15); display: block; height: 6px; margin-top: .45rem; overflow: hidden; }
.ecm-meter__bar span { background: var(--ecm-gold-bright); display: block; height: 100%; }
.ecm-meter__bar.is-full span { background: #e7845e; }

.ecm-kpis { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 0 0 1rem; background: var(--ecm-line); border: 1px solid var(--ecm-line); }
.ecm-kpis div { background: #fff; padding: 1rem 1.1rem; }
.ecm-kpis dt { color: var(--ecm-muted); font-size: .8rem; }
.ecm-kpis dd { font-size: 1.6rem; font-variant-numeric: tabular-nums; font-weight: 750; margin: .25rem 0 0; }

/* Plan & package cards */
.ecm-plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.ecm-plan { background: #fff; border: 1px solid var(--ecm-line); display: flex; flex-direction: column; min-width: 0; position: relative; }
.ecm-plan.is-current { border-color: var(--ecm-gold); box-shadow: 0 0 0 1px var(--ecm-gold); }
.ecm-plan.is-custom { border-style: dashed; }
.ecm-plan__head { border-bottom: 1px solid var(--ecm-line); padding: 1.4rem 1.4rem 1.1rem; }
.ecm-plan__flag { background: var(--ecm-gold); color: #1a1a1a; font-size: .66rem; font-weight: 800; letter-spacing: .12em; padding: .25rem .55rem; position: absolute; right: 1rem; text-transform: uppercase; top: -.7rem; }
.ecm-plan h3 { font-size: 1.15rem; margin: 0 0 .6rem; }
.ecm-plan__price { font-size: 1.45rem; font-variant-numeric: tabular-nums; font-weight: 800; line-height: 1.2; margin: 0; }
.ecm-plan__price small { color: var(--ecm-muted); font-size: .85rem; font-weight: 600; }
.ecm-plan__alt { color: var(--ecm-muted); font-size: .85rem; margin: .3rem 0 0; }
.ecm-plan__tagline { color: var(--ecm-muted); font-size: .9rem; margin: .7rem 0 0; }
.ecm-plan__features { display: grid; flex: 1; gap: .55rem; list-style: none; margin: 0; padding: 1.2rem 1.4rem; }
.ecm-plan__features li { font-size: .9rem; line-height: 1.4; padding-left: 1.4rem; position: relative; }
.ecm-plan__features li::before { color: var(--ecm-gold); content: "\2713"; font-weight: 800; left: 0; position: absolute; }
.ecm-plan__action { padding: 0 1.4rem 1.4rem; }
.ecm-plan__action .ecm-button { width: 100%; }
.ecm-plan__note { color: var(--ecm-muted); font-size: .85rem; margin: 0; }
.ecm-buy { display: grid; gap: .75rem; }
.ecm-buy__cycle { border: 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin: 0; padding: 0; }
.ecm-buy__cycle label { align-items: center; display: inline-flex; font-size: .9rem; gap: .35rem; }
.ecm-buy__field { display: grid; font-size: .85rem; gap: .3rem; }
.ecm-buy__field span { color: var(--ecm-muted); }
.ecm-buy input:not([type="radio"]):not([type="checkbox"]), .ecm-buy select, .ecm-buy textarea, .ecm-request textarea { border: 1px solid var(--ecm-line); border-radius: 2px; font: inherit; min-height: 2.5rem; padding: .5rem .65rem; width: 100%; }
.ecm-request summary { list-style: none; width: 100%; }
.ecm-request summary::-webkit-details-marker { display: none; }
.ecm-request form { display: grid; gap: .5rem; margin-top: .9rem; }
.ecm-request label { font-size: .85rem; }

/* Listing / project rows */
.ecm-rows { border-top: 1px solid var(--ecm-line); }
.ecm-row { align-items: center; border-bottom: 1px solid var(--ecm-line); display: grid; gap: 1rem; grid-template-columns: 72px minmax(0, 1fr) auto; padding: 1rem 0; }
.ecm-row__thumb { aspect-ratio: 1; background: var(--ecm-soft); overflow: hidden; }
.ecm-row__thumb img { display: block; height: 100%; object-fit: cover; width: 100%; }
.ecm-row h4 { font-size: 1rem; margin: 0 0 .4rem; }
.ecm-row__meta { align-items: center; color: var(--ecm-muted); display: flex; flex-wrap: wrap; font-size: .82rem; gap: .4rem .8rem; margin: 0; }
.ecm-row__reason { background: var(--ecm-bad-bg); color: var(--ecm-bad); font-size: .85rem; margin: .6rem 0 0; padding: .5rem .7rem; }
.ecm-row__actions { align-items: center; display: flex; flex-wrap: wrap; font-size: .9rem; font-weight: 700; gap: .4rem 1rem; justify-content: flex-end; }
.ecm-row__actions a { color: var(--ecm-gold-text); }
.ecm-row__actions form { margin: 0; }

/* Tables */
.ecm-table-wrap { border: 1px solid var(--ecm-line); overflow-x: auto; }
.ecm-table { border-collapse: collapse; font-size: .9rem; min-width: 560px; width: 100%; }
.ecm-table th, .ecm-table td { border-bottom: 1px solid var(--ecm-line); padding: .7rem .85rem; text-align: left; vertical-align: top; }
.ecm-table th { background: var(--ecm-soft); color: var(--ecm-muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.ecm-table .n { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.ecm-table tr:last-child td { border-bottom: 0; }

/* Leads */
.ecm-funnel { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); list-style: none; margin: 0 0 1rem; padding: 0; background: var(--ecm-line); border: 1px solid var(--ecm-line); }
.ecm-funnel a { background: #fff; color: var(--ecm-ink); display: grid; padding: .75rem .9rem; text-decoration: none; }
.ecm-funnel a[aria-current] { box-shadow: inset 0 -3px 0 var(--ecm-gold); }
.ecm-funnel strong { font-size: 1.3rem; }
.ecm-funnel span { color: var(--ecm-muted); font-size: .78rem; }
.ecm-filterbar { align-items: end; display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.ecm-filterbar label, .ecm-lead__form label { display: grid; font-size: .8rem; gap: .25rem; }
.ecm-filterbar label span, .ecm-lead__form label span { color: var(--ecm-muted); }
.ecm-filterbar select, .ecm-lead__form select, .ecm-lead__form input { border: 1px solid var(--ecm-line); font: inherit; min-height: 2.5rem; padding: .4rem .6rem; }
.ecm-leads { display: grid; gap: .75rem; }
.ecm-lead { border: 1px solid var(--ecm-line); padding: 1rem 1.1rem; }
.ecm-lead header { align-items: center; display: flex; flex-wrap: wrap; gap: .4rem .75rem; }
.ecm-lead header small { color: var(--ecm-muted); flex-basis: 100%; }
.ecm-lead p { margin: .6rem 0 0; }
.ecm-lead__contact a { color: var(--ecm-gold-text); font-weight: 700; }
.ecm-lead__form { align-items: end; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.ecm-lead__note { flex: 1 1 200px; }

/* Analytics */
.ecm-range { display: flex; gap: .25rem; }
.ecm-range a { border: 1px solid var(--ecm-line); color: var(--ecm-muted); font-size: .85rem; padding: .35rem .7rem; text-decoration: none; }
.ecm-range a[aria-current] { background: var(--ecm-deep); border-color: var(--ecm-deep); color: #fff; }
.ecm-chart { border: 1px solid var(--ecm-line); margin: 0 0 1.25rem; padding: 1rem 1.1rem; }
.ecm-chart figcaption { color: var(--ecm-muted); display: flex; flex-wrap: wrap; font-size: .85rem; gap: .5rem 1rem; justify-content: space-between; margin-bottom: .75rem; }
.ecm-chart__legend i { background: var(--ecm-gold); display: inline-block; height: .65rem; vertical-align: middle; width: .65rem; }
.ecm-chart__bars { align-items: flex-end; display: flex; gap: 2px; height: 160px; }
.ecm-chart__bar { background: #9fb0c3; flex: 1; min-width: 2px; }
.ecm-chart__bar.is-lead { background: var(--ecm-gold); }

/* Forms in the builder dashboard */
.ecm-project-form { display: grid; gap: 1.25rem; }
.ecm-fieldset { border: 1px solid var(--ecm-line); display: grid; gap: 1rem; margin: 0; padding: 1.25rem; }
.ecm-fieldset legend { font-weight: 800; padding: 0 .4rem; }
.ecm-grid2 { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ecm-span2 { grid-column: 1 / -1; }
.ecm-project-form label { color: var(--ecm-muted); display: grid; font-size: .88rem; gap: .35rem; }
.ecm-project-form label small { font-size: .78rem; }
.ecm-project-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .ecm-project-form select, .ecm-project-form textarea { background: #fff; border: 1px solid var(--ecm-line); border-radius: 2px; color: var(--ecm-ink); font: inherit; min-height: 2.75rem; padding: .6rem .75rem; width: 100%; }
.ecm-project-form input:focus, .ecm-project-form select:focus, .ecm-project-form textarea:focus { border-color: var(--ecm-gold); box-shadow: 0 0 0 3px rgba(184, 134, 11, .16); outline: 0; }
.ecm-units { display: grid; gap: .75rem; }
.ecm-units__row { align-items: end; display: grid; gap: .6rem; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
.ecm-units__row label span { font-size: .78rem; }
.ecm-units__row .ecm-link-button { color: var(--ecm-bad); font-size: 1.4rem; line-height: 2.75rem; text-decoration: none; }
.ecm-units > .ecm-button { justify-self: start; }
.ecm-checks { display: grid; gap: .4rem 1rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.ecm-checks label, .ecm-inline { align-items: center; color: var(--ecm-ink) !important; display: inline-flex !important; gap: .4rem; }
.ecm-media-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.ecm-media-list__item { border: 1px solid var(--ecm-line); display: grid !important; font-size: .78rem !important; gap: .2rem !important; padding: .3rem; width: 110px; }
.ecm-media-list__item img { aspect-ratio: 1; height: auto; object-fit: cover; width: 100%; }
.ecm-submit-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.ecm-logo-preview img { background: var(--ecm-soft); max-height: 90px; padding: .5rem; width: auto; }
.ecm-doc-list { margin: 0; padding-left: 1.2rem; }
.ecm-form--builder .ecm-form__section { border-bottom: 1px solid var(--ecm-line); color: var(--ecm-gold-text, #8d6505); font-size: .72rem; font-weight: 800; grid-column: 1 / -1; letter-spacing: .14em; margin: .5rem 0 0; padding-bottom: .4rem; text-transform: uppercase; }

/* Checkout */
.ecm-pay { background: #fff; border: 1px solid var(--ecm-line); margin: 1rem auto; max-width: 560px; padding: 2rem; }
.ecm-pay h2 { font-size: 1.4rem; margin: 0 0 .3rem; }
.ecm-pay__meta, .ecm-pay__note { color: var(--ecm-muted); font-size: .9rem; }
.ecm-pay__lines { border-block: 1px solid var(--ecm-line); margin: 1.25rem 0; padding: .5rem 0; }
.ecm-pay__lines div { display: flex; justify-content: space-between; padding: .35rem 0; }
.ecm-pay__lines dd { font-variant-numeric: tabular-nums; margin: 0; }
.ecm-pay__total { border-top: 1px solid var(--ecm-line); font-size: 1.15rem; font-weight: 800; margin-top: .35rem; padding-top: .7rem !important; }
.ecm-pay__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; }
.ecm-pay__message { font-weight: 700; min-height: 1.5em; }

/* Featured placements and banners (public) */
.ecm-featured { margin: 2.5rem auto; max-width: 1200px; padding: 0 1rem; }
.ecm-featured__title { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 1.25rem; }
.ecm-featured__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ecm-featured__card { background: #fff; border: 1px solid var(--ecm-line); color: inherit; display: flex; flex-direction: column; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.ecm-featured__card:hover { box-shadow: 0 24px 40px -30px rgba(16, 26, 37, .55); transform: translateY(-2px); }
.ecm-featured__img { aspect-ratio: 16 / 10; background: #e8e5dd; display: block; overflow: hidden; position: relative; }
.ecm-featured__img img { height: 100%; object-fit: cover; width: 100%; }
.ecm-featured__img .ecm-badge-featured { left: .75rem; position: absolute; top: .75rem; }
.ecm-featured__body { display: grid; gap: .25rem; padding: 1rem; }
.ecm-featured__body strong { font-size: 1.1rem; }
.ecm-featured__body small { color: var(--ecm-muted); }
.ecm-banners { display: grid; gap: 1rem; margin: 2rem auto; max-width: 1200px; padding: 0 1rem; }
.ecm-banner { display: block; overflow: hidden; position: relative; }
.ecm-banner img { display: block; height: auto; width: 100%; }
.ecm-banner__text { background: linear-gradient(transparent, rgba(16, 26, 37, .85)); bottom: 0; color: #fff; font-size: clamp(1rem, 2.5vw, 1.5rem); font-weight: 800; left: 0; padding: 2rem 1.25rem 1rem; position: absolute; right: 0; }
.ecm-banner__tag { background: rgba(255, 255, 255, .9); color: #1a1a1a; font-size: .65rem; font-weight: 700; letter-spacing: .1em; padding: .2rem .45rem; position: absolute; right: .6rem; text-transform: uppercase; top: .6rem; }

/* Listing contact & project page additions */
.ecm-contact { align-items: center; background: #f7f5f0; border-left: 3px solid #b8860b; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; margin: 1.5rem 0; padding: 1rem 1.25rem; }
.ecm-contact p { margin: 0; }
.ecm-contact__phone a { font-size: 1.15rem; font-weight: 800; }
.ecm-wa, .ecm-wa-cta { background: #1f8a4c !important; border-color: #1f8a4c !important; color: #fff !important; }
.ecm-wa-cta { margin-left: .5rem; text-decoration: none; }
.ecm-project-brand { align-items: center; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: .75rem; }
.ecm-project-brand__logo { background: rgba(255, 255, 255, .92); max-height: 48px; padding: .3rem .5rem; width: auto; }
.ecm-project-brand__by { color: #fff; font-weight: 700; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.ecm-project-videos__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ecm-project-videos__item iframe { aspect-ratio: 16 / 9; height: auto; width: 100%; }

@media (max-width: 760px) {
	.ecm-plan-panel { grid-template-columns: 1fr; padding: 1.25rem; }
	.ecm-row { grid-template-columns: 56px minmax(0, 1fr); }
	.ecm-row__actions { grid-column: 1 / -1; justify-content: flex-start; }
	.ecm-grid2 { grid-template-columns: 1fr; }
	.ecm-units__row { grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px dashed var(--ecm-line); padding-bottom: .75rem; }
	.ecm-units__row .ecm-link-button { justify-self: start; }
	.ecm-pay { padding: 1.25rem; }
	.ecm-wa-cta { display: inline-block; margin: .5rem 0 0; }
}
@media (prefers-reduced-motion: reduce) { .ecm-featured__card { transition: none; } }
