@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');

:root {
    --bg: #f5f5f5;
    --surface: #ffffff;
    --surface-soft: #f0f0f0;
    --border: #dfdfdf;
    --text: #252525;
    --muted: #7a7a7a;
    --brand: #1f77b4;
    --brand-dark: #165a87;
    --success: #2fa24f;
    --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-optical-sizing: auto !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top, rgba(31, 119, 180, 0.08), transparent 22%),
        linear-gradient(180deg, #fcfcfc 0%, #f3f3f3 100%);
    background-attachment: fixed;
    color: var(--text);
}

.language-switcher {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(31, 119, 180, 0.12);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.language-switcher__option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    color: #748091;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition:
        transform 0.2s ease,
        color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.language-switcher__option:hover {
    color: var(--brand-dark);
    transform: translateY(-1px);
}

.language-switcher__option.is-active {
    color: var(--brand-dark);
    background: linear-gradient(180deg, #f8fbfe, #edf5fb);
    box-shadow: inset 0 0 0 1px rgba(31, 119, 180, 0.1);
}

.language-switcher__flag {
    font-size: 1rem;
    line-height: 1;
}

.quick-contact {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(31, 119, 180, 0.12);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.quick-contact__option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    color: #748091;
    transition:
        transform 0.2s ease,
        color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.quick-contact__option:hover {
    transform: translateY(-1px);
    color: var(--brand-dark);
}

.quick-contact__option--gmail {
    background: linear-gradient(180deg, #fff8f7, #fff2f0);
    box-shadow: inset 0 0 0 1px rgba(228, 77, 38, 0.1);
}

.quick-contact__option--whatsapp {
    background: linear-gradient(180deg, #f4fff8, #ebfff3);
    box-shadow: inset 0 0 0 1px rgba(37, 211, 102, 0.12);
}

.quick-contact__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.quick-contact__option--gmail .quick-contact__icon {
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.12), rgba(251, 188, 5, 0.18));
    color: #d44638;
}

.quick-contact__option--whatsapp .quick-contact__icon {
    background: linear-gradient(135deg, rgba(45, 211, 111, 0.16), rgba(37, 211, 102, 0.28));
    color: #179c4f;
}

.quick-contact__icon svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

button,
input,
textarea,
select {
    font: inherit;
}

.page-shell {
    /* width: min(1180px, calc(100% - 32px)); */
    margin: 50px;
    padding: 28px 0 40px;
}

html[dir="ltr"] body {
    text-align: left;
}

html[dir="ltr"] .panel__header,
html[dir="ltr"] .panel__body,
html[dir="ltr"] .about-section,
html[dir="ltr"] .about-closing,
html[dir="ltr"] .contact-form-card__head,
html[dir="ltr"] .service-panel__head,
html[dir="ltr"] .service-panel__body,
html[dir="ltr"] .contact-map-card__head {
    text-align: left;
}

html[dir="ltr"] .top-nav {
    flex-direction: row-reverse;
}

html[dir="ltr"] .top-nav__tabs {
    justify-content: flex-start;
}

html[dir="ltr"] .hero__content,
html[dir="ltr"] .hero__meta,
html[dir="ltr"] .hero__eyebrow--headline {
    text-align: center;
    justify-content: center;
}

html[dir="ltr"] .hero__meta span:not(:last-child)::before {
    inset-inline-start: auto;
    inset-inline-end: -9px;
}

html[dir="ltr"] .contact-list__item,
html[dir="ltr"] .score-item__top,
html[dir="ltr"] .field span,
html[dir="ltr"] .portfolio-card__content,
html[dir="ltr"] .service-panel__head {
    direction: ltr;
}

html[dir="ltr"] .panel__title,
html[dir="ltr"] .skill-label,
html[dir="ltr"] .contact-list__content {
    direction: ltr;
}

.hero {
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: 18px 16px 28px;
}

.hero__avatar-wrap {
    position: relative;
}

.hero__avatar {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 4px solid #fff;
    box-shadow: 0 12px 28px rgba(36, 59, 83, 0.22);
}

.hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__verified,
.hero__status-dot {
    position: absolute;
    border-radius: 50%;
}

.hero__verified {
    right: -2px;
    bottom: 10px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--success);
    border: 3px solid #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero__status-dot {
    left: -8px;
    top: 54px;
    width: 10px;
    height: 10px;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(47, 162, 79, 0.14);
}

.hero__content {
    text-align: center;
}

.hero__eyebrow {
    margin: 0 0 6px;
    color: var(--success);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero__name {
    display: inline-block;
}

.hero__eyebrow--headline {
    width: auto;
    max-width: 100%;
    margin: 10px auto 0;
    line-height: 1.9;
    font-size: 1.02rem;
    text-wrap: balance;
}

.hero h1 {
    margin: 0;
    font-size: clamp(1.9rem, 2.8vw, 2.5rem);
    font-weight: 700;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.hero__meta span:not(:last-child)::before {
    content: "";
    position: absolute;
    inset-inline-start: -9px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #bdbdbd;
    transform: translateY(-50%);
}

.hero__meta-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(47, 147, 209, 0.12), rgba(31, 119, 180, 0.22));
    color: var(--brand-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
}

.hero__meta-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding: 0 10px;
}

.top-nav__edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    background:
        linear-gradient(135deg, #2f93d1 0%, #1f77b4 48%, #165a87 100%);
    padding: 13px 22px;
    border-radius: 18px;
    cursor: pointer;
    box-shadow:
        0 16px 30px rgba(31, 119, 180, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        filter 0.24s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    font-weight: 600;
    letter-spacing: 0.1px;
}

.top-nav__edit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.22), transparent 80%);
    transform: translateX(-130%);
    transition: transform 0.55s ease;
    z-index: -1;
}

.top-nav__edit:hover {
    transform: translateY(-2px);
    box-shadow:
        0 20px 36px rgba(31, 119, 180, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    filter: saturate(1.08);
}

.top-nav__edit:hover::before {
    transform: translateX(130%);
}

.top-nav__edit:active {
    transform: translateY(0);
}

.top-nav__edit-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    flex-shrink: 0;
}

.top-nav__edit-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.top-nav__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-end;
    align-items: center;
}

.top-nav__tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #7c8794;
    padding: 0;
    border-radius: 0;
    cursor: pointer;
    transition:
        color 0.24s ease,
        transform 0.24s ease,
        opacity 0.24s ease;
    font-weight: 500;
    opacity: 0.92;
    padding: 8px 10px;
    border-radius: 0;
}

.top-nav__tab.is-active,
.top-nav__tab:hover {
    color: var(--brand-dark);
    transform: translateY(-1px);
    opacity: 1;
}

.top-nav__tab.is-active {
    background: #f3f3f3;
    box-shadow: none;
    padding: 10px 14px;
}

.top-nav__tab-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(47, 147, 209, 0.12), rgba(31, 119, 180, 0.22));
    color: var(--brand-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
}

.top-nav__tab-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.top-nav__tab.is-active .top-nav__tab-icon,
.top-nav__tab:hover .top-nav__tab-icon {
    background: linear-gradient(135deg, rgba(47, 147, 209, 0.16), rgba(31, 119, 180, 0.3));
}

.top-nav__tab span:last-child {
    font-size: 0.97rem;
}

.dashboard {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.dashboard.dashboard--full-gallery {
    grid-template-columns: minmax(0, 1fr);
}

.dashboard.dashboard--full-gallery .sidebar {
    display: none;
}

.dashboard.dashboard--full-gallery #tab-projects {
    border: 0;
    box-shadow: none;
    background: transparent;
}

.dashboard.dashboard--full-gallery #tab-projects .panel__header {
    display: none;
}

.sidebar,
.content {
    display: grid;
    gap: 18px;
}

.panel {
    /* background: var(--surface); */
    /* border: 1px solid var(--border); */
    /* box-shadow: var(--shadow); */
}

.tab-panel {
    /* background:
        radial-gradient(circle at top, rgba(31, 119, 180, 0.04), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 247, 247, 0.92)); */
}

.panel--compact {
    box-shadow: none;
}

.panel__header {
    padding: 18px 20px;
    /* border-bottom: 1px solid #e9e9e9;
    background: linear-gradient(180deg, #fbfbfb, #f5f5f5); */
}

.panel__header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.panel__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.panel__title-icon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand), var(--success));
    box-shadow:
        0 0 0 6px rgba(47, 147, 209, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.panel__body {
    padding: 22px;
}

.tab-panel {
    display: none;
}

.tab-panel.is-active {
    display: block;
}

.stats,
.score-list,
.meta-list {
    padding: 18px 20px 22px;
}

.stats {
    display: grid;
    gap: 16px;
}

.contact-list {
    display: grid;
    gap: 10px;
    padding: 18px 18px 22px;
}

.contact-list__item {
    display: flex;
    align-items: center;
    gap: 10px;

    /* background: #fff; */
    /* box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04); */
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease;
}

.contact-list__item:hover {
    transform: translateY(-1px);
    border-color: rgba(31, 119, 180, 0.26);
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.07),
        0 0 0 1px rgba(47, 147, 209, 0.04);
}

.contact-list__icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--brand-dark);
    background: linear-gradient(135deg, rgba(47, 147, 209, 0.14), rgba(31, 119, 180, 0.22));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 6px 12px rgba(31, 119, 180, 0.08);
}

.contact-list__icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.contact-list__content {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
}

.contact-list__content span,
.contact-list__content a {
    color: #6a7480;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.contact-list__content a:hover {
    color: var(--brand);
}

.stat-row {
    padding-bottom: 16px;
    border-bottom: 1px solid #ededed;
}

.stat-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.stat-row__value {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 1.2rem;
    font-weight: 800;
}

.stat-row__value--green {
    padding: 2px 8px;
    color: #fff;
    background: var(--success);
    font-size: 0.86rem;
}

.stat-row__label {
    display: block;
    color: var(--muted);
    font-size: 0.94rem;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 20px 0;
}

.rating-summary__stars {
    color: #f4b400;
    letter-spacing: 2px;
    font-size: 1.05rem;
}

.rating-summary__count {
    color: var(--muted);
}

.score-list--skills {
    padding-top: 20px;
}

.score-item + .score-item {
    margin-top: 14px;
}

.score-item__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
    font-size: 0.92rem;
}

.score-list--skills .score-item__top span:first-child {
    color: var(--text);
    font-weight: 600;
    font-size: 0.91rem;
}

.skill-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.skill-label__icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    border-radius: 4px;
}

.score-list--skills .score-item__top span:last-child {
    color: var(--brand-dark);
    font-weight: 700;
}

.score-bar {
    height: 10px;
    background:
        repeating-linear-gradient(
            90deg,
            #e9eff5 0,
            #e9eff5 9px,
            #ffffff 9px,
            #ffffff 12px
        );
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #e0e8f0;
}

.score-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #1d2a36, #2f93d1);
    transition: width 1s ease;
}

.meta-list {
    display: grid;
    gap: 12px;
    border-top: 1px solid #ededed;
}

.meta-list__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.92rem;
}

.meta-list__row strong {
    color: var(--text);
}

.prose {
    color: #3d3d3d;
    line-height: 2;
    font-size: 1rem;
}

.prose p {
    margin: 0 0 14px;
    text-align: justify;
}

.prose--rich {
    display: grid;
    gap: 22px;
}

.about-block,
.about-section,
.about-closing {
    /* padding: 22px; */
    /* box-shadow: 0 14px 32px rgba(15, 23, 42, 0.04); */
}

.about-block--lead {
    border-color: rgba(31, 119, 180, 0.14);
}

.about-greeting {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.about-greeting__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark);
    background: linear-gradient(135deg, rgba(47, 147, 209, 0.12), rgba(31, 119, 180, 0.22));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 8px 16px rgba(31, 119, 180, 0.08);
    flex-shrink: 0;
}

.about-greeting__icon svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.typewriter-text {
    position: relative;
    visibility: hidden;
}

.typewriter-text.is-typing,
.typewriter-text.is-typed {
    visibility: visible;
}

.typewriter-text.is-typing::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-inline-start: 4px;
    vertical-align: -0.12em;
    background: var(--brand);
    animation: typing-caret 0.8s step-end infinite;
}

@keyframes typing-caret {
    0%,
    45% {
        opacity: 1;
    }

    46%,
    100% {
        opacity: 0;
    }
}

.about-section__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text);
}

.about-section__title::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--success));
    box-shadow: 0 0 0 6px rgba(47, 147, 209, 0.08);
}

.skill-group + .skill-group {
    margin-top: 18px;
}

.skill-group__title {
    margin: 0 0 12px;
    color: var(--brand-dark);
    font-size: 0.98rem;
    font-weight: 700;
}

.modern-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.modern-list li {
    position: relative;
    padding: 12px 14px 12px 12px;
    padding-inline-start: 42px;
    border: 1px solid #edf1f6;
    border-radius: 16px;
    background: #fff;
    line-height: 1.8;
    color: #4b5563;
}

.modern-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, #ffffff 0 22%, transparent 23%),
        linear-gradient(135deg, rgba(47, 147, 209, 0.16), rgba(31, 119, 180, 0.32));
    transform: translateY(-50%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.modern-list--tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.modern-list--tags li {
    font-weight: 500;
}

.about-text-block {
    display: grid;
    gap: 10px;
}

.about-text-block p {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #edf1f6;
    border-radius: 16px;
    background: #fff;
    color: #4b5563;
    line-height: 1.9;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.03);
}

.about-text-block--list {
    gap: 12px;
}

.about-text-block--list p {
    padding: 16px 20px;
    border-color: #e7edf3;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #fbfcfe);
    box-shadow:
        0 10px 22px rgba(15, 23, 42, 0.035),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    color: #566171;
}

.service-showcase {
    display: grid;
    gap: 18px;
}

.service-panel {
    border: 1px solid #e6edf4;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(47, 147, 209, 0.07), transparent 34%),
        linear-gradient(180deg, #ffffff, #fbfcfe);
    padding: 22px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.045);
}

.service-panel__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.service-panel__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(47, 147, 209, 0.12), rgba(31, 119, 180, 0.24));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 10px 18px rgba(31, 119, 180, 0.08);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.service-panel__head h3 {
    margin: 0 0 6px;
    font-size: 1.08rem;
    line-height: 1.7;
}

.service-panel__head p {
    margin: 0;
    color: var(--brand-dark);
    font-size: 0.94rem;
    line-height: 1.8;
}

.service-panel__body {
    display: grid;
    gap: 14px;
}

.service-panel__body > p {
    margin: 0;
    color: #4f5a67;
    line-height: 2;
}

.service-panel__notes {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(245, 249, 253, 0.95);
    border: 1px solid #e7eef5;
}

.service-panel__notes p {
    margin: 0;
    color: #607082;
    line-height: 1.95;
}

.about-closing strong {
    color: var(--text);
}

.feature-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.feature-list li {
    position: relative;
    padding-inline-start: 22px;
}

.feature-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 12px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.showcase-card {
    padding: 18px;
    border: 1px solid #ebebeb;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.showcase-card h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.showcase-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    font-size: 0.94rem;
}

.service-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.info-card,
.contact-card,
.project-card {
    border: 1px solid #e8edf2;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #f9fbfd);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05);
}

.info-card,
.contact-card {
    padding: 20px;
}

.info-card h3,
.contact-card h3,
.project-card h3,
.timeline__item h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.info-card p,
.contact-card p,
.project-card p,
.timeline__item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.card-stack {
    display: grid;
    gap: 16px;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 22px;
}

.dashboard.dashboard--full-gallery .portfolio-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 20px;
}

.dashboard.dashboard--full-gallery #tab-projects .panel__body {
    padding: 0;
    /* background: #f3f3f3; */
}

.portfolio-card {
    display: grid;
    gap: 12px;
}

.portfolio-card__image-link {
    display: block;
    text-decoration: none;
}

.portfolio-card__media {
    position: relative;
    min-height: 248px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.portfolio-card__image {
    width: 100%;
    height: 248px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.portfolio-card__image-link:hover .portfolio-card__image {
    transform: scale(1.02);
}

.portfolio-card__content {
    text-align: center;
    padding: 0 10px 8px;
}

.portfolio-card__content h3 {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.9;
    font-weight: 500;
    color: #4a4a4a;
}

.portfolio-card__content a {
    color: inherit;
    text-decoration: none;
}

.portfolio-card__content a:hover {
    color: var(--brand);
}

.dashboard.dashboard--full-gallery .content {
    gap: 0;
}

.contact-page {
    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    gap: 22px;
}

.contact-page__info,
.contact-page__form-wrap {
    display: grid;
    gap: 18px;
}

.contact-callout,
.contact-form-card,
.contact-map-card {
    border: 1px solid #e6edf4;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(47, 147, 209, 0.06), transparent 34%),
        linear-gradient(180deg, #ffffff, #fbfcfe);
    padding: 22px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.045);
}

.contact-callout h3,
.contact-form-card__head h3,
.contact-map-card__head h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

.contact-callout p,
.contact-form-card__head p,
.contact-map-card__head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.contact-methods {
    display: grid;
    gap: 14px;
}

.contact-method {
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid #e9eef5;
    border-radius: 20px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.035);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 119, 180, 0.22);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.contact-method--static {
    cursor: default;
}

.contact-method__icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(47, 147, 209, 0.12), rgba(31, 119, 180, 0.24));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
}

.contact-method__label {
    color: var(--brand-dark);
    font-size: 0.88rem;
    font-weight: 600;
}

.contact-method strong {
    color: var(--text);
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form__feedback {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.contact-form__feedback--success {
    background: rgba(15, 157, 88, 0.1);
    border: 1px solid rgba(15, 157, 88, 0.16);
    color: #0f9d58;
}

.contact-form__feedback--error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.14);
    color: #c62828;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field {
    display: grid;
    gap: 8px;
}

.field span {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid #dde7f0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    padding: 14px 16px;
    color: #334155;
    outline: none;
    transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(31, 119, 180, 0.35);
    box-shadow: 0 0 0 4px rgba(47, 147, 209, 0.08);
}

.contact-form__submit {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    color: #fff;
    background: linear-gradient(135deg, #2f93d1 0%, #1f77b4 48%, #165a87 100%);
    box-shadow: 0 16px 30px rgba(31, 119, 180, 0.2);
    cursor: pointer;
    transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.contact-form__submit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.22), transparent 80%);
    transform: translateX(-130%);
    transition: transform 0.55s ease;
    z-index: -1;
}

.contact-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(31, 119, 180, 0.24);
    filter: saturate(1.08);
}

.contact-form__submit:hover::before {
    transform: translateX(130%);
}

.contact-form__submit-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.contact-form__submit-icon svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.contact-map-card {
    /* display: grid;
    gap: 16px; */
}

.contact-map {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid #e6edf4;
    min-height: 320px;
}

.contact-map iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

.dashboard.dashboard--full-gallery .portfolio-gallery {
    margin: 0;
    padding: 10px 0 0;
}

.dashboard.dashboard--full-gallery .portfolio-card__content {
    padding: 0 4px 6px;
}

.dashboard.dashboard--full-gallery .portfolio-card__content h3 {
    font-size: 0.95rem;
    line-height: 1.75;
}

.project-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
}

.project-badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(47, 147, 209, 0.12);
    color: var(--brand-dark);
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
}

.timeline {
    display: grid;
    gap: 16px;
}

.timeline__item {
    position: relative;
    padding: 22px 22px 22px 22px;
    border: 1px solid #e8edf2;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #fbfcfe);
}

.timeline__item::before {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    top: 20px;
    bottom: 20px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2f93d1, #2fa24f);
}

.timeline__item span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 600;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .dashboard {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }

    .content {
        order: 1;
    }

    .showcase-grid,
    .service-grid,
    .contact-grid,
    .modern-list--tags,
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }

    .contact-page,
    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .dashboard.dashboard--full-gallery .portfolio-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .page-shell {
        /* width: min(100% - 18px, 1180px); */
        margin: 18px;
        padding-top: 20px;
        padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
    }

    .language-switcher {
        top: 12px;
        left: 12px;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 16px;
    }

    .quick-contact {
        top: 12px;
        right: 12px;
        justify-content: center;
        flex-wrap: wrap;
        border-radius: 16px;
    }

    .language-switcher__option {
        flex: 0 0 auto;
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 18px;
    }

    .language-switcher__option > span:last-child {
        display: none;
    }

    .quick-contact__option {
        flex: 0 0 auto;
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 18px;
    }

    .quick-contact__option > span:last-child {
        display: none;
    }

    .quick-contact__icon {
        width: 30px;
        height: 30px;
    }

    .quick-contact__icon svg {
        width: 16px;
        height: 16px;
    }

    .top-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-bottom: 12px;
        padding: 0;
        /* padding-top: 72px; */
    }

    .top-nav__tabs {
        position: fixed;
        left: 18px;
        right: 18px;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        width: auto;
        padding: 10px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow:
            0 16px 40px rgba(20, 61, 95, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(14px);
        z-index: 30;
    }

    .top-nav__edit {
        display: flex;
        width: 100%;
        flex: 0 0 100%;
        min-height: 58px;
        padding: 14px 18px;
        border-radius: 20px;
    }

    .top-nav__tab {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        min-height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 16px;
        background: transparent;
    }

    .top-nav__tab.is-active {
        padding: 0;
        background: linear-gradient(180deg, #f4faff, #eaf5fd);
        box-shadow: inset 0 0 0 1px rgba(47, 147, 209, 0.12);
    }

    .top-nav__tab span:last-child {
        display: none;
    }

    .top-nav__tab-icon {
        width: 30px;
        height: 30px;
    }

    .top-nav__tab-icon svg {
        width: 16px;
        height: 16px;
    }

    .hero {
        padding-bottom: 20px;
    }

    .hero__eyebrow--headline {
        width: 100% !important;
        font-size: 0.95rem;
    }

    .dashboard.dashboard--full-gallery .portfolio-gallery {
        grid-template-columns: 1fr;
    }

    .panel__body {
        padding: 18px;
    }
}
