.dr1065hero {
    --dr1065-navy: #081625;
    --dr1065-navy-light: #10283B;
    --dr1065-teal: #20B7B0;
    --dr1065-gold: #D7B777;
    --dr1065-white: #F3F5F7;
    --dr1065-muted: #B8C7D6;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    color: var(--dr1065-white);
    background:
        radial-gradient(ellipse at 78% 35%,
            rgba(15, 103, 133, .22), transparent 38%),
        linear-gradient(125deg,
            #06111D 0%,
            #081625 48%,
            #0D2A3B 100%);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.dr1065hero *,
.dr1065hero *::before,
.dr1065hero *::after {
    box-sizing: border-box;
}

.dr1065hero a {
    color: inherit;
    text-decoration: none;
}

/* Background */

.dr1065hero-glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.dr1065hero-glow1 {
    top: -220px;
    right: 10%;
    width: 470px;
    height: 470px;
    background: rgba(32, 183, 176, .13);
    filter: blur(100px);
    animation: dr1065heroGlow 9s ease-in-out infinite alternate;
}

.dr1065hero-glow2 {
    bottom: 0;
    left: -200px;
    width: 360px;
    height: 360px;
    background: rgba(215, 183, 119, .08);
    filter: blur(100px);
}

.dr1065hero-grid {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .13;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: linear-gradient(to bottom, #000, transparent 95%);
}

/* Main layout */

.dr1065hero-container {
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    align-items: center;
    gap: 25px;
    width: min(1320px, calc(100% - 80px));
    min-height: 650px;
    margin: auto;
    padding: 55px 0 35px;
}

.dr1065hero-content {
    position: relative;
    z-index: 4;
    min-width: 0;
    padding: 25px 0;
    animation: dr1065heroEnter .9s ease-out both;
}

.dr1065hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    color: #7FE3DE;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.dr1065hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border: 2px solid var(--dr1065-teal);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(32,183,176,.6);
}

.dr1065hero h1 {
    margin: 0 0 19px;
    color: var(--dr1065-white);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(49px, 5.3vw, 76px);
    font-weight: 400;
    letter-spacing: -2.5px;
    line-height: 1.04;
}

.dr1065hero-name {
    display: block;
    color: var(--dr1065-gold);
    text-shadow: 0 5px 35px rgba(215,183,119,.12);
}

.dr1065hero-period {
    color: var(--dr1065-teal);
}

.dr1065hero-role {
    margin-bottom: 7px;
    font-size: clamp(17px, 1.8vw, 23px);
    font-weight: 500;
    line-height: 1.5;
}

.dr1065hero-subrole {
    margin-bottom: 20px;
    color: var(--dr1065-muted);
    font-size: 14px;
    letter-spacing: .3px;
}

.dr1065hero-registration {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 23px;
    padding: 9px 13px;
    border: 1px solid rgba(215,183,119,.27);
    border-radius: 5px;
    background: rgba(255,255,255,.035);
    color: #E9D3A7;
    font-size: 11px;
}

.dr1065hero-reg-icon {
    flex: 0 0 auto;
    color: var(--dr1065-gold);
}

.dr1065hero-description {
    max-width: 470px;
    margin: 0 0 29px;
    color: var(--dr1065-muted);
    font-size: 13px;
    line-height: 1.95;
}

/* Buttons */

.dr1065hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dr1065hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 51px;
    padding: 13px 18px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease,
        border-color .3s ease;
}

.dr1065hero-button-arrow {
    font-size: 16px;
}

.dr1065hero-button-gold {
    color: #142131 !important;
    background: linear-gradient(130deg,
        #F4DDAA 0%,
        #D7B777 55%,
        #C59A4F 100%);
    box-shadow:
        0 8px 28px rgba(215,183,119,.15),
        inset 0 1px 0 rgba(255,255,255,.65);
}

.dr1065hero-button-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 34px rgba(215,183,119,.28);
}

.dr1065hero-button-outline {
    border-color: rgba(215,183,119,.5);
    background: rgba(255,255,255,.035);
    color: var(--dr1065-white) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dr1065hero-button-outline:hover {
    transform: translateY(-3px);
    border-color: var(--dr1065-teal);
    background: rgba(32,183,176,.08);
}

.dr1065hero-button:focus-visible,
.dr1065hero-speciality:focus-visible,
.dr1065hero-profile-link:focus-visible {
    outline: 2px solid var(--dr1065-teal);
    outline-offset: 4px;
}

/* Professional Profile link */

.dr1065hero-profile-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 8px 0;
    border-radius: 3px;
    color: inherit;
    text-decoration: none;
    transition: opacity .3s ease, transform .3s ease;
}

.dr1065hero-profile-link strong,
.dr1065hero-profile-link span {
    display: block;
}

.dr1065hero-profile-link strong {
    margin-bottom: 4px;
    color: var(--dr1065-gold);
    font-size: inherit;
    font-weight: 600;
    line-height: 1.5;
}

.dr1065hero-profile-link span {
    color: var(--dr1065-muted);
    font-size: inherit;
    line-height: 1.6;
}

.dr1065hero-profile-link:hover {
    opacity: .85;
    transform: translateX(3px);
}

.dr1065hero-profile-link:hover strong {
    color: #F4DDAA;
}

/* Brand signature */

.dr1065hero-bottom-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 35px;
    color: var(--dr1065-muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}

.dr1065hero-bottom-line {
    width: 30px;
    height: 1px;
    margin-right: 3px;
    background: var(--dr1065-gold);
}

.dr1065hero-bottom-separator {
    color: var(--dr1065-gold);
}

/* Image composition */

.dr1065hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-width: 0;
    min-height: 510px;
    perspective: 1200px;
}

.dr1065hero-photo-aura {
    position: absolute;
    width: 95%;
    max-width: 540px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(32,183,176,.20),
        rgba(16,40,59,.16) 48%,
        transparent 72%);
    filter: blur(12px);
    animation: dr1065heroAura 7s ease-in-out infinite alternate;
}

.dr1065hero-orbit {
    position: absolute;
    width: 76%;
    aspect-ratio: 1;
    border: 1px solid rgba(32,183,176,.20);
    border-radius: 50%;
    pointer-events: none;
}

.dr1065hero-orbit1 {
    transform: rotateX(66deg) rotateZ(-25deg);
}

.dr1065hero-orbit2 {
    width: 91%;
    border-color: rgba(215,183,119,.18);
    transform: rotateX(66deg) rotateZ(34deg);
}

.dr1065hero-orbit3 {
    width: 65%;
    border-color: rgba(32,183,176,.12);
    transform: rotateY(68deg) rotateZ(20deg);
}

/* Doctor portrait */

.dr1065hero-photo-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-height: 590px;
    overflow: hidden;
    border-radius: 46% 46% 4px 4px;
    -webkit-mask-image: linear-gradient(
        to bottom, #000 0%, #000 75%, transparent 100%);
    mask-image: linear-gradient(
        to bottom, #000 0%, #000 75%, transparent 100%);
    animation: dr1065heroPhotoEnter 1.1s ease-out both;
}

.dr1065hero-doctor {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 590px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 20px 35px rgba(0,0,0,.3));
    transform: translateZ(25px);
}

/* Decorative medical illustration */

.dr1065hero-vessel-art {
    position: absolute;
    z-index: 3;
    top: 6%;
    right: -1%;
    width: clamp(100px, 15vw, 185px);
    opacity: .65;
    filter: drop-shadow(0 0 15px rgba(32,183,176,.25));
    pointer-events: none;
    animation: dr1065heroFloat 8s ease-in-out infinite;
}

.dr1065hero-vessel-art svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Glass information card */

.dr1065hero-glass-card {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 14%;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 90%;
    padding: 13px 17px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 9px;
    background: rgba(8,22,37,.76);
    box-shadow: 0 16px 45px rgba(0,0,0,.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    animation: dr1065heroCardEnter 1s .3s ease-out both;
}

.dr1065hero-glass-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border: 1px solid rgba(215,183,119,.3);
    border-radius: 8px;
    color: var(--dr1065-gold);
    background: rgba(215,183,119,.08);
}

.dr1065hero-glass-icon svg {
    width: 27px;
    height: 27px;
}

.dr1065hero-glass-card strong,
.dr1065hero-glass-card div > span {
    display: block;
}

.dr1065hero-glass-card strong {
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 600;
}

.dr1065hero-glass-card div > span {
    color: var(--dr1065-muted);
    font-size: 10px;
    line-height: 1.5;
}

.dr1065hero-card-arrow {
    margin-left: 5px;
    color: var(--dr1065-teal);
    font-size: 16px;
}

.dr1065hero-visual-label {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 10%;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--dr1065-muted);
    font-size: 8px;
    letter-spacing: 1.5px;
}

.dr1065hero-visual-label > span:first-child {
    color: var(--dr1065-gold);
    font-family: Georgia, serif;
    font-size: 20px;
}

.dr1065hero-visual-label i {
    width: 25px;
    height: 1px;
    background: var(--dr1065-gold);
}

/* Specialty strip */

.dr1065hero-specialities {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(1320px, calc(100% - 80px));
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,.11);
}

.dr1065hero-speciality {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 23px 19px 25px 0;
    transition: background .3s ease;
}

.dr1065hero-speciality + .dr1065hero-speciality {
    padding-left: 20px;
    border-left: 1px solid rgba(255,255,255,.08);
}

.dr1065hero-speciality-number {
    flex: 0 0 auto;
    color: var(--dr1065-gold);
    font-family: Georgia, serif;
    font-size: 20px;
}

.dr1065hero-speciality-text {
    display: block;
    min-width: 0;
}

.dr1065hero-speciality-text strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dr1065-white);
    font-size: 11px;
    font-weight: 600;
}

.dr1065hero-speciality-text small {
    display: block;
    color: var(--dr1065-muted);
    font-size: 9px;
    line-height: 1.6;
}

.dr1065hero-speciality-arrow {
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--dr1065-teal);
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: opacity .3s ease, transform .3s ease;
}

.dr1065hero-speciality:hover {
    background: rgba(255,255,255,.025);
}

.dr1065hero-speciality:hover .dr1065hero-speciality-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* Animation */

@keyframes dr1065heroEnter {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dr1065heroPhotoEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes dr1065heroCardEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dr1065heroGlow {
    from {
        transform: translate(0, 0);
        opacity: .65;
    }
    to {
        transform: translate(-18px, 25px);
        opacity: 1;
    }
}

@keyframes dr1065heroAura {
    from {
        transform: scale(.95);
        opacity: .7;
    }
    to {
        transform: scale(1.06);
        opacity: 1;
    }
}

@keyframes dr1065heroFloat {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }
    50% {
        transform: translateY(-12px) rotate(3deg);
    }
}

/* Tablet */

@media (max-width: 1000px) {
    .dr1065hero-container {
        width: calc(100% - 48px);
        grid-template-columns: 1fr .9fr;
        gap: 12px;
        min-height: 600px;
    }

    .dr1065hero h1 {
        font-size: clamp(44px, 6vw, 61px);
        letter-spacing: -1.8px;
    }

    .dr1065hero-visual {
        min-height: 450px;
    }

    .dr1065hero-specialities {
        width: calc(100% - 48px);
    }

    .dr1065hero-speciality {
        gap: 9px;
    }

    .dr1065hero-speciality + .dr1065hero-speciality {
        padding-left: 12px;
    }
}

/* Mobile */

@media (max-width: 700px) {
    .dr1065hero-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: calc(100% - 36px);
        min-height: auto;
        padding: 43px 0 15px;
    }

    .dr1065hero-content {
        padding: 0;
    }

    .dr1065hero-eyebrow {
        margin-bottom: 19px;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .dr1065hero h1 {
        margin-bottom: 17px;
        font-size: clamp(46px, 11.5vw, 65px);
        letter-spacing: -1.7px;
    }

    .dr1065hero-role {
        font-size: 18px;
    }

    .dr1065hero-subrole {
        font-size: 12px;
    }

    .dr1065hero-description {
        margin-bottom: 23px;
        font-size: 12px;
    }

    .dr1065hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .dr1065hero-button {
        width: 100%;
        min-height: 50px;
        font-size: 11px;
    }

    .dr1065hero-bottom-info {
        margin-top: 25px;
        gap: 8px;
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .dr1065hero-visual {
        min-height: 370px;
        margin-top: 10px;
    }

    .dr1065hero-photo-wrap {
        width: 100%;
        max-width: 420px;
        max-height: 430px;
        margin: 0 auto;
    }

    .dr1065hero-doctor {
        max-height: 430px;
    }

    .dr1065hero-vessel-art {
        top: 4%;
        right: -1%;
        width: 110px;
    }

    .dr1065hero-glass-card {
        right: 0;
        bottom: 9%;
        gap: 9px;
        padding: 10px 12px;
    }

    .dr1065hero-glass-icon {
        width: 32px;
        height: 32px;
    }

    .dr1065hero-glass-icon svg {
        width: 22px;
        height: 22px;
    }

    .dr1065hero-glass-card strong {
        font-size: 10px;
    }

    .dr1065hero-glass-card div > span {
        font-size: 9px;
    }

    .dr1065hero-visual-label {
        bottom: 7%;
        font-size: 7px;
    }

    .dr1065hero-specialities {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: calc(100% - 36px);
    }

    .dr1065hero-speciality {
        padding: 17px 8px 17px 0;
    }

    .dr1065hero-speciality + .dr1065hero-speciality {
        padding-left: 10px;
    }

    .dr1065hero-speciality:nth-child(3) {
        border-left: none;
    }

    .dr1065hero-speciality:nth-child(n+3) {
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .dr1065hero-speciality-number {
        font-size: 17px;
    }

    .dr1065hero-speciality-text strong {
        font-size: 10px;
    }

    .dr1065hero-speciality-text small {
        font-size: 8px;
    }
}

/* Small mobile screens */

@media (max-width: 360px) {
    .dr1065hero-container,
    .dr1065hero-specialities {
        width: calc(100% - 28px);
    }

    .dr1065hero h1 {
        font-size: 43px;
    }

    .dr1065hero-visual {
        min-height: 320px;
    }

    .dr1065hero-speciality {
        gap: 6px;
    }

    .dr1065hero-speciality + .dr1065hero-speciality {
        padding-left: 7px;
    }

    .dr1065hero-profile-link strong {
        font-size: 13px;
    }

    .dr1065hero-profile-link span {
        font-size: 11px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .dr1065hero *,
    .dr1065hero *::before,
    .dr1065hero *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}