.d2-profile-page { padding: 40px 0 84px; color: var(--d2-ink); background: var(--d2-surface); }
.d2-profile-shell { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.d2-profile-breadcrumb { min-height: 44px; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--d2-muted); font-size: 12px; }
.d2-profile-breadcrumb a { display: inline-flex; align-items: center; gap: 8px; color: #1d55d7; font-size: 14px; font-weight: 700; text-decoration: none; }
.d2-profile-breadcrumb span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d2-profile-cover { height: 260px; position: relative; overflow: hidden; border-radius: 24px; background: #203c60; }
.d2-profile-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 15, 24, .22)); pointer-events: none; }
.d2-profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.d2-profile-cover--empty { display: flex; align-items: flex-end; justify-content: flex-end; padding: 18px 22px; color: #d7e1ed; background: #203c60 radial-gradient(circle at 82% 20%, transparent 0 125px, rgba(255,255,255,.12) 126px 128px, transparent 129px 205px, rgba(255,255,255,.1) 206px 208px, transparent 209px); }
.d2-profile-cover--empty::before { content: ''; width: 70%; height: 50%; position: absolute; left: -5%; bottom: 12%; border: 2px solid rgba(255,255,255,.13); transform: skewY(-10deg); }
.d2-profile-cover--empty span { position: relative; z-index: 1; font-size: 12px; }
.d2-profile-identity { margin: 22px 28px 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; align-items: center; }
.d2-profile-logo { width: 112px; height: 112px; display: grid; place-items: center; overflow: hidden; border: 1px solid #edf0ec; border-radius: 20px; color: #203c60; background: #fff; box-shadow: 0 8px 24px rgba(17,24,32,.06); font-size: 36px; font-weight: 900; }
.d2-profile-logo img { width: 100%; height: 100%; padding: 10px; object-fit: contain; }
.d2-profile-badges { margin-bottom: 7px; display: flex; flex-wrap: wrap; gap: 7px; }
.d2-profile-badge { padding: 6px 10px; border-radius: 999px; color: #4f2db5; background: #f0ebff; font-size: 11px; font-weight: 800; }
.d2-profile-badge--premium { color: #321300; background: var(--d2-orange); }
.d2-profile-heading h1 { margin: 0; color: var(--d2-ink); font-size: clamp(34px, 4vw, 48px); font-weight: 850; line-height: 1.05; letter-spacing: -.045em; }
.d2-profile-heading > p { margin: 8px 0 7px; color: #3f4852; font-size: 17px; line-height: 1.45; }
.d2-profile-heading small { color: var(--d2-muted); font-size: 13px; }
.d2-profile-heading small i { margin-right: 5px; }
.d2-profile-actions { margin: 28px 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.d2-profile-actions a { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid #ccd1cc; border-radius: 999px; color: #2b3138; background: #fff; font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.d2-profile-actions a:hover { transform: translateY(-1px); border-color: #959d97; }
.d2-profile-actions .is-primary { color: #fff; background: var(--d2-ink); border-color: var(--d2-ink); }
.d2-profile-actions .is-accent { color: #17120e; background: var(--d2-orange); border-color: var(--d2-orange); }
.d2-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.d2-profile-main, .d2-profile-aside { min-width: 0; display: grid; gap: 24px; }
.d2-profile-aside { position: sticky; top: 20px; }
.d2-profile-card { min-width: 0; padding: 28px; border: 1px solid #daddd9; border-radius: 20px; background: #fff; }
.d2-profile-card h2, .d2-requirement h2 { margin: 0 0 18px; color: var(--d2-ink); font-size: 24px; font-weight: 850; line-height: 1.2; letter-spacing: -.025em; }
.d2-profile-card h3 { margin: 22px 0 9px; color: #626a74; font-size: 12px; font-weight: 800; }
.d2-profile-about > div { color: #343b44; font-size: 15px; line-height: 1.65; }
.d2-profile-about p:last-child, .d2-service-item div > :last-child { margin-bottom: 0; }
.d2-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.d2-service-item { min-width: 0; padding: 16px; position: relative; overflow: hidden; border-radius: 14px; background: #f5f6f3; }
.d2-service-item > img { width: calc(100% + 32px); height: 120px; margin: -16px -16px 15px; object-fit: cover; }
.d2-service-item > span { width: 32px; height: 32px; margin-bottom: 10px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--d2-ink); font-size: 12px; font-weight: 800; }
.d2-service-item h3 { margin: 0 0 7px; color: #20262c; font-size: 14px; line-height: 1.4; }
.d2-service-item div { color: #555e68; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.d2-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.d2-gallery-grid figure { margin: 0; overflow: hidden; border: 1px solid #e1e4e0; border-radius: 14px; background: #f5f6f3; }
.d2-gallery-grid img { width: 100%; height: 170px; display: block; object-fit: cover; }
.d2-gallery-grid figcaption { padding: 10px 12px; color: #555e68; font-size: 12px; }
.d2-history { padding-top: 2px; }
.d2-history > div { min-height: 64px; display: grid; grid-template-columns: 72px 18px minmax(0, 1fr); gap: 8px; align-items: start; }
.d2-history strong { padding-top: 2px; color: #bd4205; font-size: 16px; text-align: right; }
.d2-history span { width: 12px; height: 12px; margin: 5px auto 0; position: relative; border: 2px solid #ffd1b6; border-radius: 50%; background: var(--d2-orange); }
.d2-history span::after { content: ''; width: 1px; height: 50px; position: absolute; top: 12px; left: 4px; background: #f0b38e; }
.d2-history > div:last-child span::after { display: none; }
.d2-history p { margin: 0; color: #343b44; font-size: 14px; line-height: 1.5; }
.d2-client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.d2-client-item { min-height: 88px; padding: 12px; display: grid; place-items: center; border: 1px solid #dfe2de; border-radius: 13px; text-align: center; }
.d2-client-item a { color: inherit; text-decoration: none; }
.d2-client-item img { width: 52px; height: 52px; margin: 0 auto 8px; display: block; object-fit: contain; }
.d2-client-item strong { color: #424a53; font-size: 12px; line-height: 1.35; }
.d2-certification-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.d2-certification-grid span { min-height: 48px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; border-radius: 12px; background: #f5f6f3; font-size: 13px; font-weight: 800; }
.d2-certification-grid i { color: #cc4908; }
.d2-profile-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.d2-profile-tags span { padding: 6px 10px; border: 1px solid #dce0dc; border-radius: 999px; color: #49515a; background: #f1f3f0; font-size: 11px; line-height: 1.3; }
.d2-profile-tags--blue span { color: #184fd1; background: #eaf0ff; border-color: #eaf0ff; }
.d2-profile-tags--outline span { color: #293039; background: #fff; border-color: #cdd2cd; font-weight: 700; }
.d2-reviews { display: grid; gap: 10px; }
.d2-reviews article { padding: 16px; border-radius: 12px; background: #f6f7f5; }
.d2-reviews article > div { display: flex; justify-content: space-between; gap: 12px; }
.d2-reviews article span, .d2-reviews article span i { color: #d8510b; }
.d2-reviews small { color: #858d95; }
.d2-reviews p { margin: 8px 0 0; color: #4e5660; font-size: 13px; }
.d2-review-form-card label { display: block; color: #414a53; font-size: 12px; font-weight: 800; }
.d2-review-form-card .rating-stars { margin: 8px 0 16px; }
.d2-review-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d2-review-fields textarea { grid-column: 1 / -1; }
.d2-review-fields input, .d2-review-fields textarea { width: 100%; padding: 12px; border: 1px solid #ced3ce; border-radius: 10px; outline: 0; background: #fff; }
.d2-review-form-card button { min-height: 44px; margin-top: 12px; padding: 0 18px; border: 0; border-radius: 10px; color: #fff; background: var(--d2-ink); font-weight: 800; }
.d2-contact-card dl, .d2-hours-card dl { margin: 0; }
.d2-contact-card dl > div { margin-bottom: 15px; }
.d2-contact-card dl > div:last-child { margin-bottom: 0; }
.d2-contact-card dt, .d2-hours-card dt { color: #68717b; font-size: 11px; font-weight: 800; }
.d2-contact-card dd { margin: 2px 0 0; color: #242b32; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.d2-contact-card dd a { color: #154fcf; text-decoration: none; }
.d2-social-links { margin-top: 18px; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid #e3e6e2; }
.d2-social-links a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #d7dbd7; border-radius: 50%; color: var(--d2-ink); text-decoration: none; }
.d2-hours-card dl > div { padding: 8px 0; display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #eceeeb; }
.d2-hours-card dl > div:last-child { border: 0; }
.d2-hours-card dd { margin: 0; color: #333b43; font-size: 11px; }
.d2-locations-card iframe, .d2-locations-card img { max-width: 100%; }
.d2-share-card { overflow: hidden; }
.d2-share-card button { min-height: 42px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d1d6d1; border-radius: 10px; color: var(--d2-ink); background: #f5f6f3; font-size: 12px; font-weight: 800; }
#d2-share-status { margin-top: 8px; display: block; color: var(--d2-muted); font-size: 11px; }
.d2-requirement { padding: 28px; border-radius: 20px; color: #eef2f6; background: var(--d2-ink); }
.d2-requirement h2 { margin-bottom: 6px; color: #fff; }
.d2-requirement > p { margin: 0 0 20px; color: #bfc6cf; font-size: 13px; }
.d2-requirement form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
.d2-requirement label { margin: 0; color: #e9edf1; font-size: 12px; font-weight: 700; }
.d2-requirement input, .d2-requirement select, .d2-requirement textarea { width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid #3d4856; border-radius: 10px; outline: 0; color: #f7f8fa; background: #1b2430; }
.d2-requirement input, .d2-requirement select { height: 48px; }
.d2-requirement textarea { resize: vertical; }
.d2-requirement input:focus, .d2-requirement select:focus, .d2-requirement textarea:focus { border-color: var(--d2-orange); box-shadow: 0 0 0 3px rgba(255,122,45,.15); }
.d2-requirement .is-full { grid-column: 1 / -1; }
.d2-honeypot { width: 1px !important; height: 1px !important; padding: 0 !important; position: absolute; left: -9999px; }
.d2-requirement-submit { display: flex; align-items: center; gap: 14px; }
.d2-requirement-submit button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px; color: #17120e; background: var(--d2-orange); font-weight: 850; }
.d2-requirement-submit button:disabled { opacity: .6; cursor: wait; }
#d2-requirement-status { color: #cbd2da; font-size: 12px; }
#d2-requirement-status.is-success { color: #70db9a; }
#d2-requirement-status.is-error { color: #ff9b9b; }

@media (max-width: 980px) {
    .d2-profile-layout { grid-template-columns: minmax(0, 1fr) 270px; }
    .d2-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .d2-client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .d2-requirement form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .d2-profile-page { padding: 18px 0 56px; }
    .d2-profile-shell { width: calc(100% - 32px); }
    .d2-profile-breadcrumb { min-height: 34px; }
    .d2-profile-breadcrumb span { display: none; }
    .d2-profile-cover { height: 190px; border-radius: 17px; }
    .d2-profile-identity { margin: 18px 0 0; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: start; }
    .d2-profile-logo { width: 84px; height: 84px; border-radius: 16px; font-size: 27px; }
    .d2-profile-heading h1 { font-size: 31px; overflow-wrap: anywhere; }
    .d2-profile-heading > p { font-size: 14px; }
    .d2-profile-actions { margin: 20px 0; display: grid; grid-template-columns: 1fr 1fr; }
    .d2-profile-actions a { min-width: 0; min-height: 44px; padding: 0 10px; font-size: 12px; }
    .d2-profile-layout { display: flex; flex-direction: column; }
    .d2-profile-aside { width: 100%; position: static; order: 0; }
    .d2-profile-main { width: 100%; order: 1; }
    .d2-profile-card, .d2-requirement { padding: 20px; border-radius: 16px; }
    .d2-profile-card h2, .d2-requirement h2 { font-size: 21px; }
    .d2-services-grid, .d2-gallery-grid { grid-template-columns: 1fr 1fr; }
    .d2-client-grid { grid-template-columns: 1fr 1fr; }
    .d2-certification-grid { grid-template-columns: 1fr; }
    .d2-requirement form { grid-template-columns: 1fr; }
    .d2-requirement .is-full { grid-column: auto; }
}

@media (max-width: 480px) {
    .d2-profile-cover { height: 155px; }
    .d2-profile-identity { grid-template-columns: 68px minmax(0, 1fr); }
    .d2-profile-logo { width: 68px; height: 68px; font-size: 22px; }
    .d2-profile-heading h1 { font-size: 26px; }
    .d2-profile-badge { padding: 5px 8px; font-size: 9px; }
    .d2-services-grid, .d2-gallery-grid { grid-template-columns: 1fr; }
    .d2-review-fields { grid-template-columns: 1fr; }
    .d2-review-fields textarea { grid-column: auto; }
    .d2-requirement-submit { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .d2-profile-actions a { transition: none; }
}
