This commit is contained in:
2026-09-15 10:35:56 +08:00
commit 782f8ea7aa
4086 changed files with 631288 additions and 0 deletions
@@ -0,0 +1,836 @@
.agent-locator {
--agent-green: #16ad5b;
--agent-text: #202421;
--agent-muted: #707774;
--agent-border: #dfe4e1;
color: var(--agent-text);
font-family: Arial, Helvetica, sans-serif;
}
.agent-hero {
background:
radial-gradient(ellipse at 57% -25%, rgba(5, 112, 69, .72) 0, rgba(31, 143, 91, .42) 30%, transparent 58%),
radial-gradient(ellipse at 38% 108%, rgba(24, 135, 80, .34) 0, transparent 54%),
linear-gradient(101deg, #9bdab7 0%, #87d1aa 31%, #72c298 53%, rgba(218, 238, 226, .74) 72%, #fff 90%);
min-height: clamp(310px, 19vw, 390px);
overflow: hidden;
position: relative;
}
.agent-hero::before,
.agent-hero::after {
content: '';
pointer-events: none;
position: absolute;
}
.agent-hero::before {
background: linear-gradient(145deg, rgba(14, 119, 72, .2), rgba(255, 255, 255, .06));
height: 145%;
left: 43%;
top: -88%;
transform: rotate(-8deg);
width: 30%;
}
.agent-hero::after {
background: radial-gradient(ellipse, rgba(255, 255, 255, .25), transparent 68%);
height: 150%;
left: 58%;
top: 1%;
transform: rotate(15deg);
width: 24%;
}
.agent-hero__inner {
align-items: end;
box-sizing: border-box;
display: grid;
gap: clamp(40px, 8vw, 150px);
grid-template-columns: minmax(0, 2.7fr) minmax(210px, .75fr);
margin: 0 auto;
max-width: 1680px;
min-height: inherit;
padding: clamp(42px, 4vw, 68px) clamp(24px, 7vw, 120px);
position: relative;
z-index: 1;
}
.agent-hero__copy {
color: #fff;
max-width: 1080px;
}
.agent-hero__eyebrow {
font-size: clamp(28px, 2.45vw, 47px);
font-weight: 400;
line-height: 1.15;
margin: 0 0 8px;
}
.agent-hero__title {
color: #fff;
font-size: clamp(38px, 3.35vw, 66px);
font-weight: 400;
letter-spacing: .055em;
line-height: 1.13;
margin: 0;
text-transform: none;
}
.agent-hero__description {
font-size: clamp(17px, 1.28vw, 25px);
line-height: 1.22;
margin: clamp(32px, 3vw, 54px) 0 0;
max-width: 1010px;
}
.agent-hero__apply {
align-items: center;
align-self: end;
background: var(--agent-green);
border-radius: 999px;
box-sizing: border-box;
color: #fff;
display: inline-flex;
font-size: clamp(18px, 1.25vw, 25px);
font-weight: 700;
gap: 22px;
justify-content: center;
justify-self: end;
min-height: 78px;
min-width: clamp(220px, 14vw, 270px);
padding: 18px 34px;
user-select: none;
}
.agent-hero__apply-arrow {
font-size: 36px;
font-weight: 300;
line-height: .8;
}
.agent-map,
.agent-directory {
box-sizing: border-box;
margin: 0 auto;
max-width: 1680px;
padding-left: clamp(24px, 7vw, 120px);
padding-right: clamp(24px, 7vw, 120px);
}
.agent-map {
padding-top: clamp(44px, 6vw, 88px);
}
.agent-map__title,
.agent-directory__title {
color: #252927;
font-size: clamp(30px, 3vw, 48px);
font-weight: 700;
letter-spacing: .12em;
margin: 0;
text-transform: uppercase;
}
.agent-map__intro {
color: var(--agent-muted);
font-size: 17px;
margin: 14px 0 24px;
}
.agent-map__canvas {
min-height: 420px;
position: relative;
}
.agent-map__image {
display: block;
height: auto;
pointer-events: none;
width: 100%;
}
.agent-map__markers {
inset: 0;
position: absolute;
}
.agent-map__marker {
appearance: none;
background: rgba(22, 173, 91, .22);
border: 0;
border-radius: 50%;
box-shadow: 0 0 0 1px rgba(22, 173, 91, .12);
cursor: pointer;
height: 22px;
left: var(--marker-x);
padding: 0;
position: absolute;
top: var(--marker-y);
transform: translate(-50%, -50%);
transition: transform .18s ease, background-color .18s ease;
width: 22px;
z-index: 2;
}
.agent-map__marker::before {
animation: agent-marker-pulse 2.2s infinite;
border: 2px solid rgba(22, 173, 91, .46);
border-radius: inherit;
content: '';
inset: -7px;
position: absolute;
}
.agent-map__marker:hover,
.agent-map__marker:focus-visible,
.agent-map__marker[aria-pressed="true"] {
background: rgba(22, 173, 91, .38);
outline: 3px solid rgba(22, 173, 91, .2);
transform: translate(-50%, -50%) scale(1.12);
}
.agent-map__marker-core {
background: var(--agent-green);
border: 3px solid #fff;
border-radius: 50%;
box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
inset: 4px;
position: absolute;
}
@keyframes agent-marker-pulse {
0%, 100% { opacity: .7; transform: scale(.8); }
50% { opacity: 0; transform: scale(1.28); }
}
.agent-map__popup {
background: rgba(255, 255, 255, .98);
border: 1px solid #edf0ee;
border-radius: 26px;
box-shadow: 0 16px 48px rgba(22, 53, 37, .13);
box-sizing: border-box;
max-width: 680px;
padding: clamp(24px, 3vw, 46px);
position: absolute;
right: 2.5%;
top: 13%;
width: 48%;
z-index: 5;
}
.agent-map__popup[hidden] {
display: none;
}
.agent-map__popup-close {
appearance: none;
background: transparent;
border: 0;
color: #6d746f;
cursor: pointer;
font-size: 28px;
line-height: 1;
padding: 8px;
position: absolute;
right: 16px;
top: 12px;
}
.agent-map__popup-heading {
align-items: center;
display: flex;
gap: 12px;
margin: 0 34px 26px 0;
}
.agent-map__popup-heading h2 {
font-size: clamp(22px, 2vw, 30px);
letter-spacing: .06em;
margin: 0;
}
.agent-map__count {
align-items: center;
background: var(--agent-green);
border-radius: 999px;
box-sizing: border-box;
color: #fff;
display: inline-flex;
font-size: 16px;
font-weight: 700;
justify-content: center;
line-height: 1;
min-height: 32px;
min-width: 52px;
padding: 7px 15px;
white-space: nowrap;
}
.agent-map__featured {
display: grid;
gap: 20px 26px;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.agent-map__featured-item {
align-items: center;
display: grid;
gap: 10px;
grid-template-columns: minmax(66px, 1fr) minmax(70px, 1fr);
min-width: 0;
}
.agent-map__featured-item img {
background: #fff;
border-radius: 7px;
height: 48px;
object-fit: contain;
width: 100%;
}
.agent-map__featured-item span {
font-size: 14px;
line-height: 1.25;
overflow-wrap: anywhere;
white-space: normal;
}
.agent-map__explore {
align-items: center;
appearance: none;
background: transparent;
border: 0;
color: var(--agent-green);
cursor: pointer;
display: flex;
font-size: 17px;
font-weight: 700;
gap: 14px;
margin: 28px 0 0 auto;
padding: 8px 0;
}
.agent-map__explore span:last-child {
font-size: 26px;
font-weight: 400;
}
.agent-directory {
padding-bottom: 90px;
padding-top: clamp(52px, 7vw, 100px);
scroll-margin-top: 90px;
}
.agent-directory__title::after {
background: var(--agent-green);
content: '';
display: block;
height: 3px;
margin-top: 16px;
width: 82px;
}
.agent-filters {
align-items: center;
border-bottom: 1px solid var(--agent-border);
display: grid;
gap: 18px;
grid-template-columns: minmax(180px, .8fr) minmax(180px, .8fr) minmax(280px, 1.7fr) auto auto;
margin-top: 42px;
padding-bottom: 18px;
}
.agent-filters__field select,
.agent-filters__field input {
background: #fff;
border: 1px solid #cdd3d0;
border-radius: 8px;
box-sizing: border-box;
color: #343936;
font-size: 15px;
height: 48px;
padding: 0 16px;
width: 100%;
}
.agent-filters__search {
position: relative;
}
.agent-filters__search input {
padding-left: 45px;
}
.agent-filters__search-icon {
border: 2px solid #70869d;
border-radius: 50%;
height: 11px;
left: 17px;
position: absolute;
top: 16px;
width: 11px;
}
.agent-filters__search-icon::after {
background: #70869d;
content: '';
height: 2px;
position: absolute;
right: -6px;
top: 10px;
transform: rotate(45deg);
width: 7px;
}
.agent-filters__result {
color: var(--agent-green);
font-size: 15px;
margin: 0;
white-space: nowrap;
}
.agent-filters__reset {
align-items: center;
appearance: none;
background: var(--agent-green);
border: 0;
border-radius: 10px;
color: #fff;
cursor: pointer;
display: flex;
font-size: 16px;
gap: 8px;
height: 48px;
justify-content: center;
min-width: 142px;
padding: 0 22px;
}
.agent-filters__reset span {
font-size: 24px;
}
.agent-directory__grid {
display: grid;
gap: 26px;
grid-template-columns: repeat(3, minmax(0, 1fr));
margin-top: 28px;
}
.agent-card {
background: #fff;
border: 1px solid #e7ebe9;
border-radius: 14px;
box-shadow: 0 8px 24px rgba(25, 55, 40, .04);
box-sizing: border-box;
min-width: 0;
padding: 28px 34px;
}
.agent-card__header {
align-items: center;
display: grid;
gap: 24px;
grid-template-columns: minmax(120px, 42%) minmax(0, 1fr);
margin-bottom: 20px;
}
.agent-card__logo {
height: 74px;
object-fit: contain;
width: 100%;
}
.agent-card__name {
font-size: 17px;
line-height: 1.3;
margin: 0;
overflow-wrap: anywhere;
}
.agent-card__body p {
align-items: flex-start;
display: flex;
font-size: 14px;
gap: 10px;
line-height: 1.45;
margin: 12px 0 0;
overflow-wrap: anywhere;
}
.agent-card__flag {
font-size: 19px;
line-height: 1;
}
.agent-card__pin {
border: 2px solid #35bf75;
border-radius: 50% 50% 50% 0;
flex: 0 0 12px;
height: 12px;
margin: 2px 2px 0 1px;
transform: rotate(-45deg);
width: 12px;
}
.agent-card__pin::after {
background: #35bf75;
border-radius: 50%;
content: '';
height: 4px;
left: 4px;
position: absolute;
top: 4px;
width: 4px;
}
.agent-card__website span {
flex: 0 0 auto;
}
.agent-card__website a {
color: #3d4943;
text-decoration: underline;
}
.agent-directory__empty {
color: var(--agent-muted);
font-size: 18px;
margin: 54px 0;
text-align: center;
}
.agent-pagination {
align-items: center;
display: flex;
gap: 18px;
justify-content: center;
margin-top: 34px;
}
.agent-pagination[hidden] {
display: none;
}
.agent-pagination__button {
appearance: none;
background: #cfe9dc;
border: 0;
border-radius: 999px;
cursor: pointer;
height: 10px;
min-width: 10px;
padding: 0;
transition: background-color .18s ease, transform .18s ease, width .18s ease;
width: 10px;
}
.agent-pagination__button--page:hover,
.agent-pagination__button--page:focus-visible {
background: #76cea2;
outline: 3px solid rgba(22, 173, 91, .16);
}
.agent-pagination__button--page[aria-current="page"] {
background: var(--agent-green);
width: 34px;
}
.agent-pagination__button--previous,
.agent-pagination__button--next {
align-items: center;
border: 1px solid var(--agent-green);
display: flex;
font-size: 34px;
height: 54px;
justify-content: center;
line-height: 1;
width: 54px;
}
.agent-pagination__button--previous {
background: #fff;
color: var(--agent-green);
margin-right: 28px;
}
.agent-pagination__button--next {
background: var(--agent-green);
color: #fff;
margin-left: 28px;
}
.agent-pagination__button--previous:disabled,
.agent-pagination__button--next:disabled {
cursor: default;
opacity: .35;
}
.agent-sr-only {
clip: rect(0, 0, 0, 0);
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
width: 1px;
}
.agent-application {
background-color: #f4f5f1;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
box-sizing: border-box;
min-height: 560px;
padding: 76px clamp(24px, 7vw, 120px) 56px;
scroll-margin-top: 110px;
}
.agent-application__inner {
display: grid;
gap: clamp(54px, 8vw, 145px);
grid-template-columns: minmax(260px, .7fr) minmax(520px, 1.5fr);
margin: 0 auto;
max-width: 1320px;
}
.agent-application__contact {
align-self: center;
display: grid;
gap: 42px;
}
.agent-application__contact-item {
display: grid;
justify-items: start;
}
.agent-application__contact-item a {
color: #111;
font-size: 19px;
font-weight: 700;
text-decoration: none;
}
.agent-application__contact-label {
color: #666;
font-size: 13px;
margin: 10px 0 3px;
text-transform: uppercase;
}
.agent-application__icon {
background-position: center;
background-repeat: no-repeat;
background-size: contain;
display: block;
height: 40px;
width: 40px;
}
.agent-application__icon--mail {
background-image: url('../images/email.svg');
}
.agent-application__icon--phone {
background-image: url('../images/phone-call.svg');
}
.agent-application__form { min-width: 0; }
.agent-application__grid {
display: grid;
gap: 23px 22px;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.agent-application__field {
display: block;
margin: 0;
}
.agent-application__field > span {
color: #303330;
display: block;
font-size: 15px;
font-weight: 400;
margin: 0 0 7px;
}
.agent-application__field.required > span::after {
color: var(--agent-green);
content: ' *';
}
.agent-application__field input,
.agent-application__field select,
.agent-application__field textarea {
background-color: transparent;
border: 0;
border-bottom: 1.5px solid #3f423f;
border-radius: 0;
box-shadow: none;
box-sizing: border-box;
color: #202421;
font-family: inherit;
font-size: 15px;
height: 37px;
margin: 0;
padding: 4px 0 8px;
width: 100%;
}
.agent-application__field textarea {
height: 88px;
min-height: 88px;
resize: vertical;
}
.agent-application__field input:focus,
.agent-application__field select:focus,
.agent-application__field textarea:focus {
border-color: var(--agent-green);
box-shadow: none;
outline: 0;
}
.agent-application__field input::placeholder,
.agent-application__field textarea::placeholder { color: #9b9e9b; opacity: 1; }
.agent-application__field .mage-error {
color: #e02b27;
font-size: 12px;
margin-top: 5px;
}
.agent-application__message { margin-top: 23px; }
.agent-application__actions {
display: flex;
justify-content: flex-end;
margin-top: 28px;
}
.agent-application__submit,
.agent-application__submit.action.primary {
background: var(--agent-green);
border: 1px solid var(--agent-green);
border-radius: 28px;
box-shadow: none;
color: #fff;
font-size: 15px;
font-weight: 600;
letter-spacing: .16em;
min-width: 112px;
padding: 13px 24px;
}
.agent-application__submit:hover,
.agent-application__submit:focus,
.agent-application__submit.action.primary:hover,
.agent-application__submit.action.primary:focus { background: #0d934b; border-color: #0d934b; color: #fff; }
.agent-application__submit:disabled { cursor: wait; opacity: .65; }
.agent-application__trap { display: none !important; }
.agent-application__status {
border-radius: 4px;
display: none;
margin: 0 0 18px;
padding: 10px 14px;
}
.agent-application__status.success { background: #e8f6ed; color: #08753c; display: block; }
.agent-application__status.error { background: #fdecec; color: #b3261e; display: block; }
.agent-application__tagline {
color: #111;
font-size: clamp(30px, 2.5vw, 46px);
font-weight: 400;
letter-spacing: .055em;
margin: 72px auto 0;
max-width: 1320px;
text-align: center;
}
@media (max-width: 1180px) {
.agent-map__canvas { min-height: 360px; }
.agent-map__popup { width: 56%; }
.agent-map__featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.agent-filters { grid-template-columns: 1fr 1fr 2fr; }
.agent-filters__result { grid-column: 1 / 3; }
.agent-filters__reset { justify-self: end; }
.agent-directory__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.agent-application__inner { gap: 50px; grid-template-columns: minmax(220px, .6fr) minmax(0, 1.4fr); }
}
@media (max-width: 767px) {
.agent-hero {
background:
radial-gradient(ellipse at 82% 5%, rgba(5, 112, 69, .42), transparent 48%),
linear-gradient(145deg, #92d4ae 0%, #62bd8d 67%, #dcefe5 100%);
min-height: 0;
}
.agent-hero__inner {
display: grid;
gap: 28px;
grid-template-columns: 1fr;
padding: 40px 18px;
}
.agent-hero__eyebrow { font-size: 25px; }
.agent-hero__title { font-size: 35px; letter-spacing: .025em; }
.agent-hero__description { font-size: 16px; margin-top: 26px; }
.agent-hero__apply {
justify-self: start;
min-height: 58px;
min-width: 180px;
padding: 13px 26px;
}
.agent-map,
.agent-directory { padding-left: 18px; padding-right: 18px; }
.agent-map__title,
.agent-directory__title { letter-spacing: .07em; }
.agent-map__intro { font-size: 15px; }
.agent-map__canvas { min-height: 360px; }
.agent-map__image { margin-top: 30px; }
.agent-map__marker { height: 18px; width: 18px; }
.agent-map__popup {
border-radius: 20px;
bottom: 0;
left: 0;
max-width: none;
padding: 24px 20px;
right: 0;
top: auto;
width: 100%;
}
.agent-map__popup-heading { margin-bottom: 18px; }
.agent-map__featured { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.agent-map__featured-item { grid-template-columns: 70px minmax(0, 1fr); }
.agent-map__explore { margin-top: 18px; }
.agent-filters { display: grid; grid-template-columns: 1fr; }
.agent-filters__result { grid-column: auto; white-space: normal; }
.agent-filters__reset { justify-self: stretch; }
.agent-directory__grid { grid-template-columns: 1fr; }
.agent-card { padding: 24px; }
.agent-pagination { gap: 13px; }
.agent-pagination__button--previous { margin-right: 8px; }
.agent-pagination__button--next { margin-left: 8px; }
.agent-application { min-height: 0; padding: 52px 18px 42px; }
.agent-application__inner { gap: 46px; grid-template-columns: 1fr; }
.agent-application__contact { gap: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.agent-application__grid { grid-template-columns: 1fr; }
.agent-application__tagline { font-size: 28px; margin-top: 52px; }
}
@media (max-width: 480px) {
.agent-application__contact { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
.agent-map__marker::before { animation: none; }
html:focus-within { scroll-behavior: auto; }
}