/* Alfa Patent — site-specific overrides on top of procounsel.css */

/* ---- brand color: swap theme's default gold accent for the logo's blue ---- */
:root {
    --procounsel-base: #0555b5;
    --procounsel-base-rgb: 5, 85, 181;
}

/* ---- preloader: the firm's own medallion artwork, plain 2D rotation only
   (the previous 3D-flip animation caused jagged edges on a raster image) ---- */
.preloader__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 96px;
    height: 96px;
    margin: -48px 0 0 -48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.preloader__mark {
    width: 100%;
    height: 100%;
    display: block;
    animation: preloaderSpin 1.6s linear infinite;
}
@keyframes preloaderSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ---- logo ---- */
.header-logo {
    max-height: 62px;
    width: auto;
}
.footer-widget__logo,
.logo-box a {
    display: inline-flex;
    background: #fff;
    padding: 10px 18px;
    border-radius: 10px;
}
.footer-widget__logo img {
    max-height: 60px;
    width: auto;
}
.logo-box img {
    max-height: 50px;
    width: auto;
}

/* ---- language switcher (inline in header, next to the Contact Us button) ---- */
.lang-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    font-family: "Plus Jakarta Sans", sans-serif;
}
.lang-switch__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--procounsel-primary, #19223a);
    border: 1px solid rgba(25, 34, 58, 0.18);
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}
.lang-switch__toggle:hover {
    border-color: var(--procounsel-base, #0555b5);
    color: var(--procounsel-base, #0555b5);
    background: rgba(5, 85, 181, 0.06);
}
.lang-switch__toggle i.fa-globe {
    font-size: 14px;
}
.lang-switch__caret {
    font-size: 9px;
    transition: transform 0.25s ease;
}
.lang-switch.is-open .lang-switch__caret {
    transform: rotate(180deg);
}
.lang-switch__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    min-width: 168px;
    list-style: none;
    margin: 0;
    padding: 8px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 500;
}
.lang-switch.is-open .lang-switch__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-switch__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 9px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.lang-switch__option:hover {
    background: #f7f5f1;
    color: var(--procounsel-base, #0555b5);
}
.lang-switch__option.is-current {
    color: var(--procounsel-base, #0555b5);
    font-weight: 700;
    background: #f7f5f1;
}
.lang-switch__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 22px;
    border-radius: 5px;
    background: var(--procounsel-primary, #19223a);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.lang-switch__option.is-current .lang-switch__code {
    background: var(--procounsel-base, #0555b5);
}
.lang-switch__name {
    font-size: 14px;
}

@media (max-width: 575px) {
    .lang-switch__toggle {
        padding: 8px 12px;
        gap: 6px;
        font-size: 12px;
    }
    .lang-switch__caret {
        display: none;
    }
    .lang-switch__menu {
        right: 0;
        min-width: 152px;
    }
}

/* ---- slogan section ---- */
.slogan-section {
    padding: 80px 0 40px;
    text-align: center;
    background-color: #f7f5f1;
}
.slogan-section__text {
    font-family: "Marcellus", serif;
    font-size: 40px;
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: #1a1a1a;
    margin: 0;
}
@media (max-width: 767px) {
    .slogan-section__text { font-size: 26px; }
}

/* ---- association logo strip ---- */
.assoc-logos {
    padding: 20px 0 90px;
    background-color: #f7f5f1;
}
@media (min-width: 1200px) {
    .assoc-logos .container {
        max-width: 1340px;
    }
}
.assoc-logos__heading {
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8a8a8a;
    margin-bottom: 40px;
}
.assoc-logos__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px 32px;
}
.assoc-logos__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.assoc-logos__item img {
    max-height: 56px;
    max-width: 140px;
    width: auto;
    filter: grayscale(100%) opacity(0.55);
    transition: filter 0.4s ease, transform 0.4s ease;
    position: relative;
}
.assoc-logos__item--lg img {
    max-height: 90px;
    max-width: 215px;
}
.assoc-logos__item--xl img {
    max-height: 80px;
    max-width: 200px;
}
.assoc-logos__item--wide img {
    max-height: 78px;
    max-width: 235px;
}
.assoc-logos__item--sm img {
    max-height: 29px;
}
.assoc-logos__item--boost img {
    max-height: 66px;
}
.assoc-logos__item:hover img {
    filter: grayscale(0%) opacity(1) drop-shadow(0 0 14px rgba(5, 85, 181, 0.55));
    transform: translateY(-3px) scale(1.06);
}
.assoc-logos__item {
    position: relative;
    overflow: visible;
}
.assoc-logos__item::after {
    content: "";
    position: absolute;
    inset: -14px -20px;
    background: radial-gradient(circle, rgba(5, 85, 181, 0.25) 0%, rgba(5, 85, 181, 0) 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}
.assoc-logos__item:hover::after {
    opacity: 1;
}

/* ---- service bullet lists (patent/trademark/design/litigation pages) ---- */
.service-detail__list {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}
.service-detail__list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    line-height: 1.7;
}
.service-detail__list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--procounsel-base, #b08b57);
}
.service-detail__subhead {
    font-family: "Marcellus", serif;
    font-size: 24px;
    margin: 40px 0 14px;
}

/* ---- team ---- */
.team-one__image img {
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

/* ---- profile teaser: the two photos take turns stepping forward, like a
   card being shuffled to the top of the stack — both stay fully visible and
   in place, only their scale/tilt/shadow (and the stacking order at the
   crossover point) animate. ---- */
.about-five__list--centered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
}
.about-five__list--centered .about-five__list__item {
    width: auto;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .about-five__list--centered .about-five__list__item {
        width: 100%;
        white-space: normal;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        gap: 12px;
    }
    .about-five__list--centered .about-five__list__item i {
        top: 4px;
    }
}
.about-five--centered .about-five__text {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.about-five__img-box {
    position: relative;
    perspective: 1200px;
}
.about-five__img-box > img,
.about-five__img-box__two img {
    border-radius: 6px;
    box-shadow: 0 30px 60px rgba(14, 11, 6, 0.28);
    transform-origin: 60% 40%;
}
.about-five__img-box > img {
    position: relative;
    animation: aboutPhotoBack 10s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.about-five__img-box__two img {
    position: relative;
    animation: aboutPhotoFront 10s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes aboutPhotoFront {
    0%, 32%   { z-index: 3; transform: scale(1) rotate(0deg) translateY(0); box-shadow: 0 30px 60px rgba(14, 11, 6, 0.3); }
    46%       { transform: scale(0.86) rotate(4deg) translateY(18px); }
    50%       { z-index: 1; }
    64%, 82%  { z-index: 1; transform: scale(0.86) rotate(4deg) translateY(18px); box-shadow: 0 12px 24px rgba(14, 11, 6, 0.16); }
    96%       { transform: scale(1) rotate(0deg) translateY(0); }
    100%      { z-index: 3; transform: scale(1) rotate(0deg) translateY(0); box-shadow: 0 30px 60px rgba(14, 11, 6, 0.3); }
}
@keyframes aboutPhotoBack {
    0%, 32%   { z-index: 1; transform: scale(0.86) rotate(-4deg) translateY(18px); box-shadow: 0 12px 24px rgba(14, 11, 6, 0.16); }
    46%       { transform: scale(1) rotate(0deg) translateY(0); }
    50%       { z-index: 3; }
    64%, 82%  { z-index: 3; transform: scale(1) rotate(0deg) translateY(0); box-shadow: 0 30px 60px rgba(14, 11, 6, 0.3); }
    96%       { transform: scale(0.86) rotate(-4deg) translateY(18px); }
    100%      { z-index: 1; transform: scale(0.86) rotate(-4deg) translateY(18px); box-shadow: 0 12px 24px rgba(14, 11, 6, 0.16); }
}
@media (prefers-reduced-motion: reduce) {
    .about-five__img-box > img,
    .about-five__img-box__two img { animation: none; }
    .about-five__img-box__two img { z-index: 2; }
}

/* ---- hero (replaces the theme's fragile owl-carousel slider with a plain, robust banner) ---- */
.hero-banner {
    position: relative;
    height: 341px;
    max-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-banner--page {
    height: 341px;
}
.hero-banner__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 11, 6, 0.72) 0%, rgba(14, 11, 6, 0.38) 55%, rgba(14, 11, 6, 0.15) 100%);
}
.hero-banner--page .hero-banner__overlay {
    background: linear-gradient(90deg, rgba(5, 85, 181, 0.78) 0%, rgba(5, 85, 181, 0.5) 55%, rgba(5, 85, 181, 0.28) 100%);
}
.hero-banner .container {
    position: relative;
    z-index: 2;
}
.hero-banner__subtitle {
    color: #fff;
    opacity: 0.85;
    font-weight: 600;
    font-size: 16px;
    font-family: "Plus Jakarta Sans", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.hero-banner__title {
    color: #fff;
    font-family: "Marcellus", serif;
    font-size: 48px;
    line-height: 1.25;
    margin: 0;
}
.hero-banner--page .hero-banner__content {
    text-align: center;
}
.hero-banner--page .hero-banner__title {
    font-size: 34px;
}
.hero-banner--page .procounsel-breadcrumb {
    margin-top: 14px;
}
@media (max-width: 991px) {
    .hero-banner, .hero-banner--page { height: 300px; }
    .hero-banner__title { font-size: 30px; }
}
@media (max-width: 575px) {
    .hero-banner, .hero-banner--page { height: 260px; }
    .hero-banner__title { font-size: 24px; }
    .hero-banner--page .hero-banner__title { font-size: 24px; }
}

/* ---- "get in touch" photo CTA ---- */
.cta-photo {
    position: relative;
    padding: 130px 0;
    overflow: hidden;
}
.cta-photo__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.cta-photo__overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 11, 6, 0.72);
}
.cta-photo .container {
    position: relative;
    z-index: 2;
}
.cta-photo__content {
    text-align: center;
}
.cta-photo__title {
    color: #fff;
    font-family: "Marcellus", serif;
    font-size: 40px;
    line-height: 1.35;
    margin-bottom: 34px;
}
.cta-photo__title span {
    color: var(--procounsel-base, #0555b5);
}
@media (max-width: 767px) {
    .cta-photo { padding: 90px 0; }
    .cta-photo__title { font-size: 26px; }
}

/* ---- homepage panoramic office banner ---- */
.office-banner {
    position: relative;
    width: 100%;
    max-height: 380px;
    overflow: hidden;
    background: var(--procounsel-primary, #19223a);
}
.office-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.68;
}
.office-banner__tint {
    position: absolute;
    inset: 0;
    background: rgba(5, 85, 181, 0.32);
    mix-blend-mode: multiply;
}
.office-banner__caption {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 22px 34px;
    background: linear-gradient(to top, rgba(14, 11, 6, 0.65), rgba(14, 11, 6, 0));
    color: #fff;
}
.office-banner__caption span {
    font-family: "Marcellus", serif;
    font-size: 18px;
    letter-spacing: 0.04em;
}
@media (max-width: 767px) {
    .office-banner { max-height: 220px; }
}

/* ---- generic long-form content page (profile / patent / trademark / design) ---- */
.content-page {
    padding: 110px 0;
}
.content-page__inner {
    max-width: 860px;
    margin: 0 auto;
}
.content-page__inner p {
    font-size: 17px;
    line-height: 1.85;
    color: #55585c;
    margin-bottom: 22px;
}
.content-page__inner h2 {
    font-family: "Marcellus", serif;
    font-size: 30px;
    margin: 10px 0 20px;
}
.content-page__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    margin: 40px 0 10px;
    padding: 30px;
    background: #f7f5f1;
}
.content-page__facts div {
    font-size: 15px;
    color: #333;
}
.content-page__facts strong {
    display: block;
    font-family: "Marcellus", serif;
    font-size: 20px;
    color: var(--procounsel-base, #c7954a);
    margin-bottom: 4px;
}

/* ---- services overview cards ---- */
.svc-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.svc-card {
    background: #f7f5f1;
    padding: 45px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.svc-card > i {
    font-size: 42px;
    color: var(--procounsel-base, #c7954a);
    margin-bottom: 18px;
    display: inline-block;
}
.svc-card .procounsel-btn > i {
    color: var(--procounsel-white, #fff);
    margin-bottom: 0;
    display: flex;
}
.svc-card__icon-svg {
    height: 42px;
    width: auto;
    margin-bottom: 18px;
    display: inline-block;
}
.svc-card h3 {
    font-family: "Marcellus", serif;
    font-size: 22px;
    margin-bottom: 12px;
}
.svc-card h3 a { color: inherit; }
.svc-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 18px;
}
.procounsel-btn--sm > i,
.procounsel-btn--sm > span {
    padding: 8px 34px;
    font-size: 13px;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .procounsel-btn--sm > i,
    .procounsel-btn--sm > span {
        padding: 6px 22px;
        font-size: 11px;
    }
    /* mobile has no hover: skip the 3D flip effect, always show the plain white label */
    .procounsel-btn--sm > i {
        transform: none !important;
    }
    .procounsel-btn--sm > span {
        display: none !important;
    }
}

/* ---- team grid ---- */
.team-grid {
    padding: 100px 0;
}
.team-grid__founder {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}
.team-grid__founder .team-card {
    width: 260px;
}
.team-grid__founder .team-card__img {
    width: 200px;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
}
.team-grid__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}
.team-card {
    text-align: center;
}
.team-card__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 50%;
}
.team-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-card h3 {
    font-family: "Marcellus", serif;
    font-size: 20px;
    margin-bottom: 6px;
}
.team-card .role {
    color: var(--procounsel-base, #c7954a);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}
.team-card .creds {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    list-style: none;
    padding: 0;
}

/* ---- contact page ---- */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.contact-info-card {
    text-align: center;
    padding: 40px 20px;
    background: #f7f5f1;
}
.contact-info-card i {
    font-size: 32px;
    color: var(--procounsel-base, #c7954a);
    margin-bottom: 14px;
    display: block;
}
.contact-info-card a, .contact-info-card p {
    color: #444;
    font-size: 15px;
    margin: 0;
}

/* ---- footer privacy link ---- */
.main-footer__copyright__link {
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    color: inherit;
    text-decoration: underline;
}

/* ---- cookie consent banner ---- */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: var(--procounsel-primary, #19223a);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.5s;
}
.cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.cookie-banner__inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 30px;
}
.cookie-banner__text {
    margin: 0;
    color: #d7dae2;
    font-size: 14px;
    line-height: 1.6;
    flex: 1 1 420px;
}
.cookie-banner__text a {
    color: #fff;
    text-decoration: underline;
}
.cookie-banner__btn {
    flex: 0 0 auto;
    border: none;
    background: var(--procounsel-base, #0555b5);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    padding: 13px 30px;
    border-radius: 999px;
    cursor: pointer;
    transition: filter 0.25s ease, transform 0.25s ease;
}
.cookie-banner__btn:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
}
@media (max-width: 575px) {
    .cookie-banner__inner { padding: 16px 18px; }
    .cookie-banner__btn { width: 100%; text-align: center; }
}

/* ---- litigation placeholder ---- */
.coming-soon-box {
    text-align: center;
    padding: 100px 0;
}
.coming-soon-box i {
    font-size: 46px;
    color: var(--procounsel-base, #b08b57);
    margin-bottom: 20px;
    display: inline-block;
}
