/* ==========================================================================
   WCPA — Homepage-only styles (slider, quick links, notices, offices grid).
   ========================================================================== */

/* HERO SLIDER ============================================================== */
.wcpa-hero {
	position: relative;
	overflow: hidden;
	height: clamp(420px, 60vh, 720px);
	color: var(--wcpa-white);
	background: var(--wcpa-dark-navy);
}
.wcpa-hero__track { list-style: none; padding: 0; margin: 0; height: 100%; position: relative; }
.wcpa-hero__slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: 0; transition: opacity 1s var(--wcpa-ease);
	display: flex; align-items: center;
}
.wcpa-hero__slide.is-active { opacity: 1; }
.wcpa-hero__shade {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10,26,51,.25) 0%, rgba(10,26,51,.78) 100%);
}
.wcpa-hero__inner { position: relative; z-index: 1; max-width: 720px; padding-block: 64px; }
.wcpa-hero__title { color: var(--wcpa-white); font-size: clamp(2rem, 1.5rem + 3vw, 3.4rem); margin-bottom: 16px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.wcpa-hero__copy { font-size: 1.15rem; line-height: 1.6; margin-bottom: 28px; color: rgba(255,255,255,.92); max-width: 580px; }

.wcpa-hero__controls {
	position: absolute; left: 50%; bottom: 48px; transform: translateX(-50%);
	display: flex; gap: 8px; z-index: 2;
}
.wcpa-hero__btn {
	width: 44px; height: 44px;
	background: rgba(255,255,255,0.92);
	color: var(--wcpa-navy);
	border-radius: 999px;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 1.25rem; font-weight: 700;
	box-shadow: var(--wcpa-shadow-md);
	transition: transform .15s var(--wcpa-ease), background .2s var(--wcpa-ease);
}
.wcpa-hero__btn:hover { background: var(--wcpa-gold); transform: scale(1.05); }

.wcpa-hero__dots {
	position: absolute; left: 0; right: 0; bottom: 20px;
	display: flex; justify-content: center; gap: 8px;
	list-style: none; padding: 0; margin: 0; z-index: 2;
}
.wcpa-hero__dots button {
	width: 10px; height: 10px; border-radius: 999px;
	background: rgba(255,255,255,0.45);
	transition: background .2s var(--wcpa-ease), transform .2s var(--wcpa-ease);
}
.wcpa-hero__dots button.is-active { background: var(--wcpa-gold); transform: scale(1.4); }


/* QUICK LINKS ============================================================== */
.wcpa-quicklinks {
	background: var(--wcpa-navy);
	padding: 32px 0;
	margin-top: -1px;  /* sit flush against hero */
}
.wcpa-quicklinks__grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .wcpa-quicklinks__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .wcpa-quicklinks__grid { grid-template-columns: repeat(6, 1fr); } }

.wcpa-quicklink {
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	padding: 20px 12px;
	color: var(--wcpa-white);
	background: transparent;
	border-radius: var(--wcpa-radius-md);
	text-align: center;
	transition: background .2s var(--wcpa-ease), transform .15s var(--wcpa-ease);
}
.wcpa-quicklink:hover { background: rgba(255,255,255,0.08); color: var(--wcpa-gold); transform: translateY(-2px); }
.wcpa-quicklink .wcpa-icon { width: 32px; height: 32px; color: var(--wcpa-gold); display: inline-flex; }
.wcpa-quicklink span { font-weight: 600; font-size: 1rem; letter-spacing: 0.02em; }

.wcpa-quicklinks--small .wcpa-quicklinks { background: transparent; }
.wcpa-quicklinks--small .wcpa-quicklink { color: var(--wcpa-navy); background: var(--wcpa-white); border: 1px solid var(--wcpa-line); }
.wcpa-quicklinks--small .wcpa-quicklink:hover { background: var(--wcpa-navy); color: var(--wcpa-white); }


/* NOTICES RIBBON =========================================================== */
.wcpa-notices { background: var(--wcpa-gold); padding: 14px 0; }
.wcpa-notice { color: var(--wcpa-navy); font-weight: 500; }
.wcpa-notice + .wcpa-notice { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(15,33,68,0.15); }


/* OFFICES GRID ============================================================ */
.wcpa-officegrid {
	display: grid; gap: 14px;
	grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .wcpa-officegrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .wcpa-officegrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .wcpa-officegrid { grid-template-columns: repeat(4, 1fr); } }

.wcpa-officecard {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 16px 20px;
	background: var(--wcpa-white);
	border: 1px solid var(--wcpa-line);
	border-radius: var(--wcpa-radius-md);
	color: var(--wcpa-navy);
	transition: transform .15s var(--wcpa-ease), box-shadow .2s var(--wcpa-ease), border-color .2s var(--wcpa-ease);
}
.wcpa-officecard:hover {
	transform: translateY(-2px);
	box-shadow: var(--wcpa-shadow-md);
	border-color: var(--wcpa-gold);
}
.wcpa-officecard__name { font-weight: 600; }
.wcpa-officecard__phone { color: var(--wcpa-muted); font-size: 0.9rem; }
.wcpa-officecard.is-hidden { display: none; }
.wcpa-officegrid.is-showall .wcpa-officecard.is-hidden { display: flex; }
